home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2002-09-23 | 22.1 KB | [□□□□/□□□□] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Sep 23 03:32:08 2002, modified Mon Sep 23 03:32:08 2002, 22097 bytes "gettext.m4" , at 0x56d1 286 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
| |
100%
| librempegprobeID
| NGC (Nintendo DSP Standard) (ngcdspstd)
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [□□□□] |
macFileCreator | [□□□□] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 67 65 74 74 65 78 | 74 2e 6d 34 00 00 00 00 |..gettex|t.m4....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 56 51 00 | 00 01 1e b9 b4 73 f8 b9 |.....VQ.|.....s..|
|00000060| b4 73 f8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.s......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 89 49 00 00 |........|.....I..|
|00000080| 23 20 67 65 74 74 65 78 | 74 2e 6d 34 20 73 65 72 |# gettex|t.m4 ser|
|00000090| 69 61 6c 20 31 34 20 28 | 67 65 74 74 65 78 74 2d |ial 14 (|gettext-|
|000000a0| 30 2e 31 31 2e 32 29 0a | 64 6e 6c 20 43 6f 70 79 |0.11.2).|dnl Copy|
|000000b0| 72 69 67 68 74 20 28 43 | 29 20 31 39 39 35 2d 32 |right (C|) 1995-2|
|000000c0| 30 30 32 20 46 72 65 65 | 20 53 6f 66 74 77 61 72 |002 Free| Softwar|
|000000d0| 65 20 46 6f 75 6e 64 61 | 74 69 6f 6e 2c 20 49 6e |e Founda|tion, In|
|000000e0| 63 2e 0a 64 6e 6c 20 54 | 68 69 73 20 66 69 6c 65 |c..dnl T|his file|
|000000f0| 20 69 73 20 66 72 65 65 | 20 73 6f 66 74 77 61 72 | is free| softwar|
|00000100| 65 2c 20 64 69 73 74 72 | 69 62 75 74 65 64 20 75 |e, distr|ibuted u|
|00000110| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|00000120| 66 20 74 68 65 20 47 4e | 55 0a 64 6e 6c 20 47 65 |f the GN|U.dnl Ge|
|00000130| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|00000140| 65 6e 73 65 2e 20 20 41 | 73 20 61 20 73 70 65 63 |ense. A|s a spec|
|00000150| 69 61 6c 20 65 78 63 65 | 70 74 69 6f 6e 20 74 6f |ial exce|ption to|
|00000160| 20 74 68 65 20 47 4e 55 | 20 47 65 6e 65 72 61 6c | the GNU| General|
|00000170| 0a 64 6e 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |.dnl Pub|lic Lice|
|00000180| 6e 73 65 2c 20 74 68 69 | 73 20 66 69 6c 65 20 6d |nse, thi|s file m|
|00000190| 61 79 20 62 65 20 64 69 | 73 74 72 69 62 75 74 65 |ay be di|stribute|
|000001a0| 64 20 61 73 20 70 61 72 | 74 20 6f 66 20 61 20 70 |d as par|t of a p|
|000001b0| 72 6f 67 72 61 6d 0a 64 | 6e 6c 20 74 68 61 74 20 |rogram.d|nl that |
|000001c0| 63 6f 6e 74 61 69 6e 73 | 20 61 20 63 6f 6e 66 69 |contains| a confi|
|000001d0| 67 75 72 61 74 69 6f 6e | 20 73 63 72 69 70 74 20 |guration| script |
|000001e0| 67 65 6e 65 72 61 74 65 | 64 20 62 79 20 41 75 74 |generate|d by Aut|
|000001f0| 6f 63 6f 6e 66 2c 20 75 | 6e 64 65 72 0a 64 6e 6c |oconf, u|nder.dnl|
|00000200| 20 74 68 65 20 73 61 6d | 65 20 64 69 73 74 72 69 | the sam|e distri|
|00000210| 62 75 74 69 6f 6e 20 74 | 65 72 6d 73 20 61 73 20 |bution t|erms as |
|00000220| 74 68 65 20 72 65 73 74 | 20 6f 66 20 74 68 61 74 |the rest| of that|
|00000230| 20 70 72 6f 67 72 61 6d | 2e 0a 64 6e 6c 0a 64 6e | program|..dnl.dn|
|00000240| 6c 20 54 68 69 73 20 66 | 69 6c 65 20 63 61 6e 20 |l This f|ile can |
|00000250| 63 61 6e 20 62 65 20 75 | 73 65 64 20 69 6e 20 70 |can be u|sed in p|
|00000260| 72 6f 6a 65 63 74 73 20 | 77 68 69 63 68 20 61 72 |rojects |which ar|
|00000270| 65 20 6e 6f 74 20 61 76 | 61 69 6c 61 62 6c 65 20 |e not av|ailable |
|00000280| 75 6e 64 65 72 0a 64 6e | 6c 20 74 68 65 20 47 4e |under.dn|l the GN|
|00000290| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|000002a0| 20 4c 69 63 65 6e 73 65 | 20 6f 72 20 74 68 65 20 | License| or the |
|000002b0| 47 4e 55 20 4c 69 62 72 | 61 72 79 20 47 65 6e 65 |GNU Libr|ary Gene|
|000002c0| 72 61 6c 20 50 75 62 6c | 69 63 0a 64 6e 6c 20 4c |ral Publ|ic.dnl L|
|000002d0| 69 63 65 6e 73 65 20 62 | 75 74 20 77 68 69 63 68 |icense b|ut which|
|000002e0| 20 73 74 69 6c 6c 20 77 | 61 6e 74 20 74 6f 20 70 | still w|ant to p|
|000002f0| 72 6f 76 69 64 65 20 73 | 75 70 70 6f 72 74 20 66 |rovide s|upport f|
|00000300| 6f 72 20 74 68 65 20 47 | 4e 55 20 67 65 74 74 65 |or the G|NU gette|
|00000310| 78 74 0a 64 6e 6c 20 66 | 75 6e 63 74 69 6f 6e 61 |xt.dnl f|unctiona|
|00000320| 6c 69 74 79 2e 0a 64 6e | 6c 20 50 6c 65 61 73 65 |lity..dn|l Please|
|00000330| 20 6e 6f 74 65 20 74 68 | 61 74 20 74 68 65 20 61 | note th|at the a|
|00000340| 63 74 75 61 6c 20 63 6f | 64 65 20 6f 66 20 74 68 |ctual co|de of th|
|00000350| 65 20 47 4e 55 20 67 65 | 74 74 65 78 74 20 6c 69 |e GNU ge|ttext li|
|00000360| 62 72 61 72 79 20 69 73 | 20 63 6f 76 65 72 65 64 |brary is| covered|
|00000370| 0a 64 6e 6c 20 62 79 20 | 74 68 65 20 47 4e 55 20 |.dnl by |the GNU |
|00000380| 4c 69 62 72 61 72 79 20 | 47 65 6e 65 72 61 6c 20 |Library |General |
|00000390| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 2c 20 |Public L|icense, |
|000003a0| 61 6e 64 20 74 68 65 20 | 72 65 73 74 20 6f 66 20 |and the |rest of |
|000003b0| 74 68 65 20 47 4e 55 0a | 64 6e 6c 20 67 65 74 74 |the GNU.|dnl gett|
|000003c0| 65 78 74 20 70 61 63 6b | 61 67 65 20 70 61 63 6b |ext pack|age pack|
|000003d0| 61 67 65 20 69 73 20 63 | 6f 76 65 72 65 64 20 62 |age is c|overed b|
|000003e0| 79 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |y the GN|U Genera|
|000003f0| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00000400| 2e 0a 64 6e 6c 20 54 68 | 65 79 20 61 72 65 20 2a |..dnl Th|ey are *|
|00000410| 6e 6f 74 2a 20 69 6e 20 | 74 68 65 20 70 75 62 6c |not* in |the publ|
|00000420| 69 63 20 64 6f 6d 61 69 | 6e 2e 0a 0a 64 6e 6c 20 |ic domai|n...dnl |
|00000430| 41 75 74 68 6f 72 73 3a | 0a 64 6e 6c 20 20 20 55 |Authors:|.dnl U|
|00000440| 6c 72 69 63 68 20 44 72 | 65 70 70 65 72 20 3c 64 |lrich Dr|epper <d|
|00000450| 72 65 70 70 65 72 40 63 | 79 67 6e 75 73 2e 63 6f |repper@c|ygnus.co|
|00000460| 6d 3e 2c 20 31 39 39 35 | 2d 32 30 30 30 2e 0a 64 |m>, 1995|-2000..d|
|00000470| 6e 6c 20 20 20 42 72 75 | 6e 6f 20 48 61 69 62 6c |nl Bru|no Haibl|
|00000480| 65 20 3c 68 61 69 62 6c | 65 40 63 6c 69 73 70 2e |e <haibl|e@clisp.|
|00000490| 63 6f 6e 73 2e 6f 72 67 | 3e 2c 20 32 30 30 30 2d |cons.org|>, 2000-|
|000004a0| 32 30 30 32 2e 0a 0a 64 | 6e 6c 20 4d 61 63 72 6f |2002...d|nl Macro|
|000004b0| 20 74 6f 20 61 64 64 20 | 66 6f 72 20 75 73 69 6e | to add |for usin|
|000004c0| 67 20 47 4e 55 20 67 65 | 74 74 65 78 74 2e 0a 0a |g GNU ge|ttext...|
|000004d0| 64 6e 6c 20 55 73 61 67 | 65 3a 20 41 4d 5f 47 4e |dnl Usag|e: AM_GN|
|000004e0| 55 5f 47 45 54 54 45 58 | 54 28 5b 49 4e 54 4c 53 |U_GETTEX|T([INTLS|
|000004f0| 59 4d 42 4f 4c 5d 2c 20 | 5b 4e 45 45 44 53 59 4d |YMBOL], |[NEEDSYM|
|00000500| 42 4f 4c 5d 2c 20 5b 49 | 4e 54 4c 44 49 52 5d 29 |BOL], [I|NTLDIR])|
|00000510| 2e 0a 64 6e 6c 20 49 4e | 54 4c 53 59 4d 42 4f 4c |..dnl IN|TLSYMBOL|
|00000520| 20 63 61 6e 20 62 65 20 | 6f 6e 65 20 6f 66 20 27 | can be |one of '|
|00000530| 65 78 74 65 72 6e 61 6c | 27 2c 20 27 6e 6f 2d 6c |external|', 'no-l|
|00000540| 69 62 74 6f 6f 6c 27 2c | 20 27 75 73 65 2d 6c 69 |ibtool',| 'use-li|
|00000550| 62 74 6f 6f 6c 27 2e 20 | 54 68 65 0a 64 6e 6c 20 |btool'. |The.dnl |
|00000560| 20 20 20 64 65 66 61 75 | 6c 74 20 28 69 66 20 69 | defau|lt (if i|
|00000570| 74 20 69 73 20 6e 6f 74 | 20 73 70 65 63 69 66 69 |t is not| specifi|
|00000580| 65 64 20 6f 72 20 65 6d | 70 74 79 29 20 69 73 20 |ed or em|pty) is |
|00000590| 27 6e 6f 2d 6c 69 62 74 | 6f 6f 6c 27 2e 0a 64 6e |'no-libt|ool'..dn|
|000005a0| 6c 20 20 20 20 49 4e 54 | 4c 53 59 4d 42 4f 4c 20 |l INT|LSYMBOL |
|000005b0| 73 68 6f 75 6c 64 20 62 | 65 20 27 65 78 74 65 72 |should b|e 'exter|
|000005c0| 6e 61 6c 27 20 66 6f 72 | 20 70 61 63 6b 61 67 65 |nal' for| package|
|000005d0| 73 20 77 69 74 68 20 6e | 6f 20 69 6e 74 6c 20 64 |s with n|o intl d|
|000005e0| 69 72 65 63 74 6f 72 79 | 2c 0a 64 6e 6c 20 20 20 |irectory|,.dnl |
|000005f0| 20 61 6e 64 20 27 6e 6f | 2d 6c 69 62 74 6f 6f 6c | and 'no|-libtool|
|00000600| 27 20 6f 72 20 27 75 73 | 65 2d 6c 69 62 74 6f 6f |' or 'us|e-libtoo|
|00000610| 6c 27 20 66 6f 72 20 70 | 61 63 6b 61 67 65 73 20 |l' for p|ackages |
|00000620| 77 69 74 68 20 61 6e 20 | 69 6e 74 6c 20 64 69 72 |with an |intl dir|
|00000630| 65 63 74 6f 72 79 2e 0a | 64 6e 6c 20 20 20 20 49 |ectory..|dnl I|
|00000640| 66 20 49 4e 54 4c 53 59 | 4d 42 4f 4c 20 69 73 20 |f INTLSY|MBOL is |
|00000650| 27 75 73 65 2d 6c 69 62 | 74 6f 6f 6c 27 2c 20 74 |'use-lib|tool', t|
|00000660| 68 65 6e 20 61 20 6c 69 | 62 74 6f 6f 6c 20 6c 69 |hen a li|btool li|
|00000670| 62 72 61 72 79 0a 64 6e | 6c 20 20 20 20 24 28 74 |brary.dn|l $(t|
|00000680| 6f 70 5f 62 75 69 6c 64 | 64 69 72 29 2f 69 6e 74 |op_build|dir)/int|
|00000690| 6c 2f 6c 69 62 69 6e 74 | 6c 2e 6c 61 20 77 69 6c |l/libint|l.la wil|
|000006a0| 6c 20 62 65 20 63 72 65 | 61 74 65 64 20 28 73 68 |l be cre|ated (sh|
|000006b0| 61 72 65 64 20 61 6e 64 | 2f 6f 72 20 73 74 61 74 |ared and|/or stat|
|000006c0| 69 63 2c 0a 64 6e 6c 20 | 20 20 20 64 65 70 65 6e |ic,.dnl | depen|
|000006d0| 64 69 6e 67 20 6f 6e 20 | 2d 2d 7b 65 6e 61 62 6c |ding on |--{enabl|
|000006e0| 65 2c 64 69 73 61 62 6c | 65 7d 2d 7b 73 68 61 72 |e,disabl|e}-{shar|
|000006f0| 65 64 2c 73 74 61 74 69 | 63 7d 20 61 6e 64 20 6f |ed,stati|c} and o|
|00000700| 6e 20 74 68 65 20 70 72 | 65 73 65 6e 63 65 20 6f |n the pr|esence o|
|00000710| 66 0a 64 6e 6c 20 20 20 | 20 41 4d 2d 44 49 53 41 |f.dnl | AM-DISA|
|00000720| 42 4c 45 2d 53 48 41 52 | 45 44 29 2e 20 49 66 20 |BLE-SHAR|ED). If |
|00000730| 49 4e 54 4c 53 59 4d 42 | 4f 4c 20 69 73 20 27 6e |INTLSYMB|OL is 'n|
|00000740| 6f 2d 6c 69 62 74 6f 6f | 6c 27 2c 20 61 20 73 74 |o-libtoo|l', a st|
|00000750| 61 74 69 63 20 6c 69 62 | 72 61 72 79 0a 64 6e 6c |atic lib|rary.dnl|
|00000760| 20 20 20 20 24 28 74 6f | 70 5f 62 75 69 6c 64 64 | $(to|p_buildd|
|00000770| 69 72 29 2f 69 6e 74 6c | 2f 6c 69 62 69 6e 74 6c |ir)/intl|/libintl|
|00000780| 2e 61 20 77 69 6c 6c 20 | 62 65 20 63 72 65 61 74 |.a will |be creat|
|00000790| 65 64 2e 0a 64 6e 6c 20 | 49 66 20 4e 45 45 44 53 |ed..dnl |If NEEDS|
|000007a0| 59 4d 42 4f 4c 20 69 73 | 20 73 70 65 63 69 66 69 |YMBOL is| specifi|
|000007b0| 65 64 20 61 6e 64 20 69 | 73 20 27 6e 65 65 64 2d |ed and i|s 'need-|
|000007c0| 6e 67 65 74 74 65 78 74 | 27 2c 20 74 68 65 6e 20 |ngettext|', then |
|000007d0| 47 4e 55 20 67 65 74 74 | 65 78 74 0a 64 6e 6c 20 |GNU gett|ext.dnl |
|000007e0| 20 20 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f | imple|mentatio|
|000007f0| 6e 73 20 28 69 6e 20 6c | 69 62 63 20 6f 72 20 6c |ns (in l|ibc or l|
|00000800| 69 62 69 6e 74 6c 29 20 | 77 69 74 68 6f 75 74 20 |ibintl) |without |
|00000810| 74 68 65 20 6e 67 65 74 | 74 65 78 74 28 29 20 66 |the nget|text() f|
|00000820| 75 6e 63 74 69 6f 6e 0a | 64 6e 6c 20 20 20 20 77 |unction.|dnl w|
|00000830| 69 6c 6c 20 62 65 20 69 | 67 6e 6f 72 65 64 2e 0a |ill be i|gnored..|
|00000840| 64 6e 6c 20 49 4e 54 4c | 44 49 52 20 69 73 20 75 |dnl INTL|DIR is u|
|00000850| 73 65 64 20 74 6f 20 66 | 69 6e 64 20 74 68 65 20 |sed to f|ind the |
|00000860| 69 6e 74 6c 20 6c 69 62 | 72 61 72 69 65 73 2e 20 |intl lib|raries. |
|00000870| 20 49 66 20 65 6d 70 74 | 79 2c 0a 64 6e 6c 20 20 | If empt|y,.dnl |
|00000880| 20 20 74 68 65 20 76 61 | 6c 75 65 20 60 24 28 74 | the va|lue `$(t|
|00000890| 6f 70 5f 62 75 69 6c 64 | 64 69 72 29 2f 69 6e 74 |op_build|dir)/int|
|000008a0| 6c 2f 27 20 69 73 20 75 | 73 65 64 2e 0a 64 6e 6c |l/' is u|sed..dnl|
|000008b0| 0a 64 6e 6c 20 54 68 65 | 20 72 65 73 75 6c 74 20 |.dnl The| result |
|000008c0| 6f 66 20 74 68 65 20 63 | 6f 6e 66 69 67 75 72 61 |of the c|onfigura|
|000008d0| 74 69 6f 6e 20 69 73 20 | 6f 6e 65 20 6f 66 20 74 |tion is |one of t|
|000008e0| 68 72 65 65 20 63 61 73 | 65 73 3a 0a 64 6e 6c 20 |hree cas|es:.dnl |
|000008f0| 31 29 20 47 4e 55 20 67 | 65 74 74 65 78 74 2c 20 |1) GNU g|ettext, |
|00000900| 61 73 20 69 6e 63 6c 75 | 64 65 64 20 69 6e 20 74 |as inclu|ded in t|
|00000910| 68 65 20 69 6e 74 6c 20 | 73 75 62 64 69 72 65 63 |he intl |subdirec|
|00000920| 74 6f 72 79 2c 20 77 69 | 6c 6c 20 62 65 20 63 6f |tory, wi|ll be co|
|00000930| 6d 70 69 6c 65 64 0a 64 | 6e 6c 20 20 20 20 61 6e |mpiled.d|nl an|
|00000940| 64 20 75 73 65 64 2e 0a | 64 6e 6c 20 20 20 20 43 |d used..|dnl C|
|00000950| 61 74 61 6c 6f 67 20 66 | 6f 72 6d 61 74 3a 20 47 |atalog f|ormat: G|
|00000960| 4e 55 20 2d 2d 3e 20 69 | 6e 73 74 61 6c 6c 20 69 |NU --> i|nstall i|
|00000970| 6e 20 24 28 64 61 74 61 | 64 69 72 29 0a 64 6e 6c |n $(data|dir).dnl|
|00000980| 20 20 20 20 43 61 74 61 | 6c 6f 67 20 65 78 74 65 | Cata|log exte|
|00000990| 6e 73 69 6f 6e 3a 20 2e | 6d 6f 20 61 66 74 65 72 |nsion: .|mo after|
|000009a0| 20 69 6e 73 74 61 6c 6c | 61 74 69 6f 6e 2c 20 2e | install|ation, .|
|000009b0| 67 6d 6f 20 69 6e 20 73 | 6f 75 72 63 65 20 74 72 |gmo in s|ource tr|
|000009c0| 65 65 0a 64 6e 6c 20 32 | 29 20 47 4e 55 20 67 65 |ee.dnl 2|) GNU ge|
|000009d0| 74 74 65 78 74 20 68 61 | 73 20 62 65 65 6e 20 66 |ttext ha|s been f|
|000009e0| 6f 75 6e 64 20 69 6e 20 | 74 68 65 20 73 79 73 74 |ound in |the syst|
|000009f0| 65 6d 27 73 20 43 20 6c | 69 62 72 61 72 79 2e 0a |em's C l|ibrary..|
|00000a00| 64 6e 6c 20 20 20 20 43 | 61 74 61 6c 6f 67 20 66 |dnl C|atalog f|
|00000a10| 6f 72 6d 61 74 3a 20 47 | 4e 55 20 2d 2d 3e 20 69 |ormat: G|NU --> i|
|00000a20| 6e 73 74 61 6c 6c 20 69 | 6e 20 24 28 64 61 74 61 |nstall i|n $(data|
|00000a30| 64 69 72 29 0a 64 6e 6c | 20 20 20 20 43 61 74 61 |dir).dnl| Cata|
|00000a40| 6c 6f 67 20 65 78 74 65 | 6e 73 69 6f 6e 3a 20 2e |log exte|nsion: .|
|00000a50| 6d 6f 20 61 66 74 65 72 | 20 69 6e 73 74 61 6c 6c |mo after| install|
|00000a60| 61 74 69 6f 6e 2c 20 2e | 67 6d 6f 20 69 6e 20 73 |ation, .|gmo in s|
|00000a70| 6f 75 72 63 65 20 74 72 | 65 65 0a 64 6e 6c 20 33 |ource tr|ee.dnl 3|
|00000a80| 29 20 4e 6f 20 69 6e 74 | 65 72 6e 61 74 69 6f 6e |) No int|ernation|
|00000a90| 61 6c 69 7a 61 74 69 6f | 6e 2c 20 61 6c 77 61 79 |alizatio|n, alway|
|00000aa0| 73 20 75 73 65 20 45 6e | 67 6c 69 73 68 20 6d 73 |s use En|glish ms|
|00000ab0| 67 69 64 2e 0a 64 6e 6c | 20 20 20 20 43 61 74 61 |gid..dnl| Cata|
|00000ac0| 6c 6f 67 20 66 6f 72 6d | 61 74 3a 20 6e 6f 6e 65 |log form|at: none|
|00000ad0| 0a 64 6e 6c 20 20 20 20 | 43 61 74 61 6c 6f 67 20 |.dnl |Catalog |
|00000ae0| 65 78 74 65 6e 73 69 6f | 6e 3a 20 6e 6f 6e 65 0a |extensio|n: none.|
|00000af0| 64 6e 6c 20 49 66 20 49 | 4e 54 4c 53 59 4d 42 4f |dnl If I|NTLSYMBO|
|00000b00| 4c 20 69 73 20 27 65 78 | 74 65 72 6e 61 6c 27 2c |L is 'ex|ternal',|
|00000b10| 20 6f 6e 6c 79 20 63 61 | 73 65 73 20 32 20 61 6e | only ca|ses 2 an|
|00000b20| 64 20 33 20 63 61 6e 20 | 6f 63 63 75 72 2e 0a 64 |d 3 can |occur..d|
|00000b30| 6e 6c 20 54 68 65 20 75 | 73 65 20 6f 66 20 2e 67 |nl The u|se of .g|
|00000b40| 6d 6f 20 69 73 20 68 69 | 73 74 6f 72 69 63 61 6c |mo is hi|storical|
|00000b50| 20 28 69 74 20 77 61 73 | 20 6e 65 65 64 65 64 20 | (it was| needed |
|00000b60| 74 6f 20 61 76 6f 69 64 | 20 6f 76 65 72 77 72 69 |to avoid| overwri|
|00000b70| 74 69 6e 67 20 74 68 65 | 0a 64 6e 6c 20 47 4e 55 |ting the|.dnl GNU|
|00000b80| 20 66 6f 72 6d 61 74 20 | 63 61 74 61 6c 6f 67 73 | format |catalogs|
|00000b90| 20 77 68 65 6e 20 62 75 | 69 6c 64 69 6e 67 20 6f | when bu|ilding o|
|00000ba0| 6e 20 61 20 70 6c 61 74 | 66 6f 72 6d 20 77 69 74 |n a plat|form wit|
|00000bb0| 68 20 61 6e 20 58 2f 4f | 70 65 6e 20 67 65 74 74 |h an X/O|pen gett|
|00000bc0| 65 78 74 29 2c 0a 64 6e | 6c 20 62 75 74 20 77 65 |ext),.dn|l but we|
|00000bd0| 20 6b 65 65 70 20 69 74 | 20 69 6e 20 6f 72 64 65 | keep it| in orde|
|00000be0| 72 20 6e 6f 74 20 74 6f | 20 66 6f 72 63 65 20 69 |r not to| force i|
|00000bf0| 72 72 65 6c 65 76 61 6e | 74 20 66 69 6c 65 6e 61 |rrelevan|t filena|
|00000c00| 6d 65 20 63 68 61 6e 67 | 65 73 20 6f 6e 20 74 68 |me chang|es on th|
|00000c10| 65 0a 64 6e 6c 20 6d 61 | 69 6e 74 61 69 6e 65 72 |e.dnl ma|intainer|
|00000c20| 73 2e 0a 64 6e 6c 0a 41 | 43 5f 44 45 46 55 4e 28 |s..dnl.A|C_DEFUN(|
|00000c30| 5b 41 4d 5f 47 4e 55 5f | 47 45 54 54 45 58 54 5d |[AM_GNU_|GETTEXT]|
|00000c40| 2c 0a 5b 0a 20 20 64 6e | 6c 20 41 72 67 75 6d 65 |,.[. dn|l Argume|
|00000c50| 6e 74 20 63 68 65 63 6b | 69 6e 67 2e 0a 20 20 69 |nt check|ing.. i|
|00000c60| 66 65 6c 73 65 28 5b 24 | 31 5d 2c 20 5b 5d 2c 20 |felse([$|1], [], |
|00000c70| 2c 20 5b 69 66 65 6c 73 | 65 28 5b 24 31 5d 2c 20 |, [ifels|e([$1], |
|00000c80| 5b 65 78 74 65 72 6e 61 | 6c 5d 2c 20 2c 20 5b 69 |[externa|l], , [i|
|00000c90| 66 65 6c 73 65 28 5b 24 | 31 5d 2c 20 5b 6e 6f 2d |felse([$|1], [no-|
|00000ca0| 6c 69 62 74 6f 6f 6c 5d | 2c 20 2c 20 5b 69 66 65 |libtool]|, , [ife|
|00000cb0| 6c 73 65 28 5b 24 31 5d | 2c 20 5b 75 73 65 2d 6c |lse([$1]|, [use-l|
|00000cc0| 69 62 74 6f 6f 6c 5d 2c | 20 2c 0a 20 20 20 20 5b |ibtool],| ,. [|
|00000cd0| 65 72 72 70 72 69 6e 74 | 28 5b 45 52 52 4f 52 3a |errprint|([ERROR:|
|00000ce0| 20 69 6e 76 61 6c 69 64 | 20 66 69 72 73 74 20 61 | invalid| first a|
|00000cf0| 72 67 75 6d 65 6e 74 20 | 74 6f 20 41 4d 5f 47 4e |rgument |to AM_GN|
|00000d00| 55 5f 47 45 54 54 45 58 | 54 0a 5d 29 5d 29 5d 29 |U_GETTEX|T.])])])|
|00000d10| 5d 29 5d 29 0a 20 20 69 | 66 65 6c 73 65 28 5b 24 |])]). i|felse([$|
|00000d20| 32 5d 2c 20 5b 5d 2c 20 | 2c 20 5b 69 66 65 6c 73 |2], [], |, [ifels|
|00000d30| 65 28 5b 24 32 5d 2c 20 | 5b 6e 65 65 64 2d 6e 67 |e([$2], |[need-ng|
|00000d40| 65 74 74 65 78 74 5d 2c | 20 2c 0a 20 20 20 20 5b |ettext],| ,. [|
|00000d50| 65 72 72 70 72 69 6e 74 | 28 5b 45 52 52 4f 52 3a |errprint|([ERROR:|
|00000d60| 20 69 6e 76 61 6c 69 64 | 20 73 65 63 6f 6e 64 20 | invalid| second |
|00000d70| 61 72 67 75 6d 65 6e 74 | 20 74 6f 20 41 4d 5f 47 |argument| to AM_G|
|00000d80| 4e 55 5f 47 45 54 54 45 | 58 54 0a 5d 29 5d 29 5d |NU_GETTE|XT.])])]|
|00000d90| 29 0a 20 20 64 65 66 69 | 6e 65 28 67 74 5f 69 6e |). defi|ne(gt_in|
|00000da0| 63 6c 75 64 65 64 5f 69 | 6e 74 6c 2c 20 69 66 65 |cluded_i|ntl, ife|
|00000db0| 6c 73 65 28 5b 24 31 5d | 2c 20 5b 65 78 74 65 72 |lse([$1]|, [exter|
|00000dc0| 6e 61 6c 5d 2c 20 5b 6e | 6f 5d 2c 20 5b 79 65 73 |nal], [n|o], [yes|
|00000dd0| 5d 29 29 0a 20 20 64 65 | 66 69 6e 65 28 67 74 5f |])). de|fine(gt_|
|00000de0| 6c 69 62 74 6f 6f 6c 5f | 73 75 66 66 69 78 5f 70 |libtool_|suffix_p|
|00000df0| 72 65 66 69 78 2c 20 69 | 66 65 6c 73 65 28 5b 24 |refix, i|felse([$|
|00000e00| 31 5d 2c 20 5b 75 73 65 | 2d 6c 69 62 74 6f 6f 6c |1], [use|-libtool|
|00000e10| 5d 2c 20 5b 6c 5d 2c 20 | 5b 5d 29 29 0a 0a 20 20 |], [l], |[])).. |
|00000e20| 41 43 5f 52 45 51 55 49 | 52 45 28 5b 41 4d 5f 50 |AC_REQUI|RE([AM_P|
|00000e30| 4f 5f 53 55 42 44 49 52 | 53 5d 29 64 6e 6c 0a 20 |O_SUBDIR|S])dnl. |
|00000e40| 20 69 66 65 6c 73 65 28 | 67 74 5f 69 6e 63 6c 75 | ifelse(|gt_inclu|
|00000e50| 64 65 64 5f 69 6e 74 6c | 2c 20 79 65 73 2c 20 5b |ded_intl|, yes, [|
|00000e60| 0a 20 20 20 20 41 43 5f | 52 45 51 55 49 52 45 28 |. AC_|REQUIRE(|
|00000e70| 5b 41 4d 5f 49 4e 54 4c | 5f 53 55 42 44 49 52 5d |[AM_INTL|_SUBDIR]|
|00000e80| 29 64 6e 6c 0a 20 20 5d | 29 0a 0a 20 20 64 6e 6c |)dnl. ]|).. dnl|
|00000e90| 20 50 72 65 72 65 71 75 | 69 73 69 74 65 73 20 6f | Prerequ|isites o|
|00000ea0| 66 20 41 43 5f 4c 49 42 | 5f 4c 49 4e 4b 46 4c 41 |f AC_LIB|_LINKFLA|
|00000eb0| 47 53 5f 42 4f 44 59 2e | 0a 20 20 41 43 5f 52 45 |GS_BODY.|. AC_RE|
|00000ec0| 51 55 49 52 45 28 5b 41 | 43 5f 4c 49 42 5f 50 52 |QUIRE([A|C_LIB_PR|
|00000ed0| 45 50 41 52 45 5f 50 52 | 45 46 49 58 5d 29 0a 20 |EPARE_PR|EFIX]). |
|00000ee0| 20 41 43 5f 52 45 51 55 | 49 52 45 28 5b 41 43 5f | AC_REQU|IRE([AC_|
|00000ef0| 4c 49 42 5f 52 50 41 54 | 48 5d 29 0a 0a 20 20 41 |LIB_RPAT|H]).. A|
|00000f00| 43 5f 4d 53 47 5f 43 48 | 45 43 4b 49 4e 47 28 5b |C_MSG_CH|ECKING([|
|00000f10| 77 68 65 74 68 65 72 20 | 4e 4c 53 20 69 73 20 72 |whether |NLS is r|
|00000f20| 65 71 75 65 73 74 65 64 | 5d 29 0a 20 20 64 6e 6c |equested|]). dnl|
|00000f30| 20 44 65 66 61 75 6c 74 | 20 69 73 20 65 6e 61 62 | Default| is enab|
|00000f40| 6c 65 64 20 4e 4c 53 0a | 20 20 41 43 5f 41 52 47 |led NLS.| AC_ARG|
|00000f50| 5f 45 4e 41 42 4c 45 28 | 6e 6c 73 2c 0a 20 20 20 |_ENABLE(|nls,. |
|00000f60| 20 5b 20 20 2d 2d 64 69 | 73 61 62 6c 65 2d 6e 6c | [ --di|sable-nl|
|00000f70| 73 20 20 20 20 20 20 20 | 20 20 20 20 64 6f 20 6e |s | do n|
|00000f80| 6f 74 20 75 73 65 20 4e | 61 74 69 76 65 20 4c 61 |ot use N|ative La|
|00000f90| 6e 67 75 61 67 65 20 53 | 75 70 70 6f 72 74 5d 2c |nguage S|upport],|
|00000fa0| 0a 20 20 20 20 55 53 45 | 5f 4e 4c 53 3d 24 65 6e |. USE|_NLS=$en|
|00000fb0| 61 62 6c 65 76 61 6c 2c | 20 55 53 45 5f 4e 4c 53 |ableval,| USE_NLS|
|00000fc0| 3d 79 65 73 29 0a 20 20 | 41 43 5f 4d 53 47 5f 52 |=yes). |AC_MSG_R|
|00000fd0| 45 53 55 4c 54 28 24 55 | 53 45 5f 4e 4c 53 29 0a |ESULT($U|SE_NLS).|
|00000fe0| 20 20 41 43 5f 53 55 42 | 53 54 28 55 53 45 5f 4e | AC_SUB|ST(USE_N|
|00000ff0| 4c 53 29 0a 0a 20 20 69 | 66 65 6c 73 65 28 67 74 |LS).. i|felse(gt|
|00001000| 5f 69 6e 63 6c 75 64 65 | 64 5f 69 6e 74 6c 2c 20 |_include|d_intl, |
|00001010| 79 65 73 2c 20 5b 0a 20 | 20 20 20 42 55 49 4c 44 |yes, [. | BUILD|
|00001020| 5f 49 4e 43 4c 55 44 45 | 44 5f 4c 49 42 49 4e 54 |_INCLUDE|D_LIBINT|
|00001030| 4c 3d 6e 6f 0a 20 20 20 | 20 55 53 45 5f 49 4e 43 |L=no. | USE_INC|
|00001040| 4c 55 44 45 44 5f 4c 49 | 42 49 4e 54 4c 3d 6e 6f |LUDED_LI|BINTL=no|
|00001050| 0a 20 20 5d 29 0a 20 20 | 4c 49 42 49 4e 54 4c 3d |. ]). |LIBINTL=|
|00001060| 0a 20 20 4c 54 4c 49 42 | 49 4e 54 4c 3d 0a 20 20 |. LTLIB|INTL=. |
|00001070| 50 4f 53 55 42 3d 0a 0a | 20 20 64 6e 6c 20 49 66 |POSUB=..| dnl If|
|00001080| 20 77 65 20 75 73 65 20 | 4e 4c 53 20 66 69 67 75 | we use |NLS figu|
|00001090| 72 65 20 6f 75 74 20 77 | 68 61 74 20 6d 65 74 68 |re out w|hat meth|
|000010a0| 6f 64 0a 20 20 69 66 20 | 74 65 73 74 20 22 24 55 |od. if |test "$U|
|000010b0| 53 45 5f 4e 4c 53 22 20 | 3d 20 22 79 65 73 22 3b |SE_NLS" |= "yes";|
|000010c0| 20 74 68 65 6e 0a 20 20 | 20 20 67 74 5f 75 73 65 | then. | gt_use|
|000010d0| 5f 70 72 65 69 6e 73 74 | 61 6c 6c 65 64 5f 67 6e |_preinst|alled_gn|
|000010e0| 75 67 65 74 74 65 78 74 | 3d 6e 6f 0a 20 20 20 20 |ugettext|=no. |
|000010f0| 69 66 65 6c 73 65 28 67 | 74 5f 69 6e 63 6c 75 64 |ifelse(g|t_includ|
|00001100| 65 64 5f 69 6e 74 6c 2c | 20 79 65 73 2c 20 5b 0a |ed_intl,| yes, [.|
|00001110| 20 20 20 20 20 20 41 43 | 5f 4d 53 47 5f 43 48 45 | AC|_MSG_CHE|
|00001120| 43 4b 49 4e 47 28 5b 77 | 68 65 74 68 65 72 20 69 |CKING([w|hether i|
|00001130| 6e 63 6c 75 64 65 64 20 | 67 65 74 74 65 78 74 20 |ncluded |gettext |
|00001140| 69 73 20 72 65 71 75 65 | 73 74 65 64 5d 29 0a 20 |is reque|sted]). |
|00001150| 20 20 20 20 20 41 43 5f | 41 52 47 5f 57 49 54 48 | AC_|ARG_WITH|
|00001160| 28 69 6e 63 6c 75 64 65 | 64 2d 67 65 74 74 65 78 |(include|d-gettex|
|00001170| 74 2c 0a 20 20 20 20 20 | 20 20 20 5b 20 20 2d 2d |t,. | [ --|
|00001180| 77 69 74 68 2d 69 6e 63 | 6c 75 64 65 64 2d 67 65 |with-inc|luded-ge|
|00001190| 74 74 65 78 74 20 75 73 | 65 20 74 68 65 20 47 4e |ttext us|e the GN|
|000011a0| 55 20 67 65 74 74 65 78 | 74 20 6c 69 62 72 61 72 |U gettex|t librar|
|000011b0| 79 20 69 6e 63 6c 75 64 | 65 64 20 68 65 72 65 5d |y includ|ed here]|
|000011c0| 2c 0a 20 20 20 20 20 20 | 20 20 6e 6c 73 5f 63 76 |,. | nls_cv|
|000011d0| 5f 66 6f 72 63 65 5f 75 | 73 65 5f 67 6e 75 5f 67 |_force_u|se_gnu_g|
|000011e0| 65 74 74 65 78 74 3d 24 | 77 69 74 68 76 61 6c 2c |ettext=$|withval,|
|000011f0| 0a 20 20 20 20 20 20 20 | 20 6e 6c 73 5f 63 76 5f |. | nls_cv_|
|00001200| 66 6f 72 63 65 5f 75 73 | 65 5f 67 6e 75 5f 67 65 |force_us|e_gnu_ge|
|00001210| 74 74 65 78 74 3d 6e 6f | 29 0a 20 20 20 20 20 20 |ttext=no|). |
|00001220| 41 43 5f 4d 53 47 5f 52 | 45 53 55 4c 54 28 24 6e |AC_MSG_R|ESULT($n|
|00001230| 6c 73 5f 63 76 5f 66 6f | 72 63 65 5f 75 73 65 5f |ls_cv_fo|rce_use_|
|00001240| 67 6e 75 5f 67 65 74 74 | 65 78 74 29 0a 0a 20 20 |gnu_gett|ext).. |
|00001250| 20 20 20 20 6e 6c 73 5f | 63 76 5f 75 73 65 5f 67 | nls_|cv_use_g|
|00001260| 6e 75 5f 67 65 74 74 65 | 78 74 3d 22 24 6e 6c 73 |nu_gette|xt="$nls|
|00001270| 5f 63 76 5f 66 6f 72 63 | 65 5f 75 73 65 5f 67 6e |_cv_forc|e_use_gn|
|00001280| 75 5f 67 65 74 74 65 78 | 74 22 0a 20 20 20 20 20 |u_gettex|t". |
|00001290| 20 69 66 20 74 65 73 74 | 20 22 24 6e 6c 73 5f 63 | if test| "$nls_c|
|000012a0| 76 5f 66 6f 72 63 65 5f | 75 73 65 5f 67 6e 75 5f |v_force_|use_gnu_|
|000012b0| 67 65 74 74 65 78 74 22 | 20 21 3d 20 22 79 65 73 |gettext"| != "yes|
|000012c0| 22 3b 20 74 68 65 6e 0a | 20 20 20 20 5d 29 0a 20 |"; then.| ]). |
|000012d0| 20 20 20 20 20 20 20 64 | 6e 6c 20 55 73 65 72 20 | d|nl User |
|000012e0| 64 6f 65 73 20 6e 6f 74 | 20 69 6e 73 69 73 74 20 |does not| insist |
|000012f0| 6f 6e 20 75 73 69 6e 67 | 20 47 4e 55 20 4e 4c 53 |on using| GNU NLS|
|00001300| 20 6c 69 62 72 61 72 79 | 2e 20 20 46 69 67 75 72 | library|. Figur|
|00001310| 65 20 6f 75 74 20 77 68 | 61 74 0a 20 20 20 20 20 |e out wh|at. |
|00001320| 20 20 20 64 6e 6c 20 74 | 6f 20 75 73 65 2e 20 20 | dnl t|o use. |
|00001330| 49 66 20 47 4e 55 20 67 | 65 74 74 65 78 74 20 69 |If GNU g|ettext i|
|00001340| 73 20 61 76 61 69 6c 61 | 62 6c 65 20 77 65 20 75 |s availa|ble we u|
|00001350| 73 65 20 74 68 69 73 2e | 20 20 45 6c 73 65 20 77 |se this.| Else w|
|00001360| 65 20 68 61 76 65 0a 20 | 20 20 20 20 20 20 20 64 |e have. | d|
|00001370| 6e 6c 20 74 6f 20 66 61 | 6c 6c 20 62 61 63 6b 20 |nl to fa|ll back |
|00001380| 74 6f 20 47 4e 55 20 4e | 4c 53 20 6c 69 62 72 61 |to GNU N|LS libra|
|00001390| 72 79 2e 0a 0a 20 20 20 | 20 20 20 20 20 64 6e 6c |ry... | dnl|
|000013a0| 20 41 64 64 20 61 20 76 | 65 72 73 69 6f 6e 20 6e | Add a v|ersion n|
|000013b0| 75 6d 62 65 72 20 74 6f | 20 74 68 65 20 63 61 63 |umber to| the cac|
|000013c0| 68 65 20 6d 61 63 72 6f | 73 2e 0a 20 20 20 20 20 |he macro|s.. |
|000013d0| 20 20 20 64 65 66 69 6e | 65 28 5b 67 74 5f 61 70 | defin|e([gt_ap|
|000013e0| 69 5f 76 65 72 73 69 6f | 6e 5d 2c 20 69 66 65 6c |i_versio|n], ifel|
|000013f0| 73 65 28 5b 24 32 5d 2c | 20 5b 6e 65 65 64 2d 6e |se([$2],| [need-n|
|00001400| 67 65 74 74 65 78 74 5d | 2c 20 32 2c 20 31 29 29 |gettext]|, 2, 1))|
|00001410| 0a 20 20 20 20 20 20 20 | 20 64 65 66 69 6e 65 28 |. | define(|
|00001420| 5b 67 74 5f 63 76 5f 66 | 75 6e 63 5f 67 6e 75 67 |[gt_cv_f|unc_gnug|
|00001430| 65 74 74 65 78 74 5f 6c | 69 62 63 5d 2c 20 5b 67 |ettext_l|ibc], [g|
|00001440| 74 5f 63 76 5f 66 75 6e | 63 5f 67 6e 75 67 65 74 |t_cv_fun|c_gnuget|
|00001450| 74 65 78 74 5d 67 74 5f | 61 70 69 5f 76 65 72 73 |text]gt_|api_vers|
|00001460| 69 6f 6e 5b 5f 6c 69 62 | 63 5d 29 0a 20 20 20 20 |ion[_lib|c]). |
|00001470| 20 20 20 20 64 65 66 69 | 6e 65 28 5b 67 74 5f 63 | defi|ne([gt_c|
|00001480| 76 5f 66 75 6e 63 5f 67 | 6e 75 67 65 74 74 65 78 |v_func_g|nugettex|
|00001490| 74 5f 6c 69 62 69 6e 74 | 6c 5d 2c 20 5b 67 74 5f |t_libint|l], [gt_|
|000014a0| 63 76 5f 66 75 6e 63 5f | 67 6e 75 67 65 74 74 65 |cv_func_|gnugette|
|000014b0| 78 74 5d 67 74 5f 61 70 | 69 5f 76 65 72 73 69 6f |xt]gt_ap|i_versio|
|000014c0| 6e 5b 5f 6c 69 62 69 6e | 74 6c 5d 29 0a 0a 20 20 |n[_libin|tl]).. |
|000014d0| 20 20 20 20 20 20 41 43 | 5f 43 41 43 48 45 5f 43 | AC|_CACHE_C|
|000014e0| 48 45 43 4b 28 5b 66 6f | 72 20 47 4e 55 20 67 65 |HECK([fo|r GNU ge|
|000014f0| 74 74 65 78 74 20 69 6e | 20 6c 69 62 63 5d 2c 20 |ttext in| libc], |
|00001500| 67 74 5f 63 76 5f 66 75 | 6e 63 5f 67 6e 75 67 65 |gt_cv_fu|nc_gnuge|
|00001510| 74 74 65 78 74 5f 6c 69 | 62 63 2c 0a 20 20 20 20 |ttext_li|bc,. |
|00001520| 20 20 20 20 20 5b 41 43 | 5f 54 52 59 5f 4c 49 4e | [AC|_TRY_LIN|
|00001530| 4b 28 5b 23 69 6e 63 6c | 75 64 65 20 3c 6c 69 62 |K([#incl|ude <lib|
|00001540| 69 6e 74 6c 2e 68 3e 0a | 65 78 74 65 72 6e 20 69 |intl.h>.|extern i|
|00001550| 6e 74 20 5f 6e 6c 5f 6d | 73 67 5f 63 61 74 5f 63 |nt _nl_m|sg_cat_c|
|00001560| 6e 74 72 3b 0a 65 78 74 | 65 72 6e 20 69 6e 74 20 |ntr;.ext|ern int |
|00001570| 2a 5f 6e 6c 5f 64 6f 6d | 61 69 6e 5f 62 69 6e 64 |*_nl_dom|ain_bind|
|00001580| 69 6e 67 73 3b 5d 2c 0a | 20 20 20 20 20 20 20 20 |ings;],.| |
|00001590| 20 20 20 20 5b 62 69 6e | 64 74 65 78 74 64 6f 6d | [bin|dtextdom|
|000015a0| 61 69 6e 20 28 22 22 2c | 20 22 22 29 3b 0a 72 65 |ain ("",| "");.re|
|000015b0| 74 75 72 6e 20 28 69 6e | 74 29 20 67 65 74 74 65 |turn (in|t) gette|
|000015c0| 78 74 20 28 22 22 29 5d | 69 66 65 6c 73 65 28 5b |xt ("")]|ifelse([|
|000015d0| 24 32 5d 2c 20 5b 6e 65 | 65 64 2d 6e 67 65 74 74 |$2], [ne|ed-ngett|
|000015e0| 65 78 74 5d 2c 20 5b 20 | 2b 20 28 69 6e 74 29 20 |ext], [ |+ (int) |
|000015f0| 6e 67 65 74 74 65 78 74 | 20 28 22 22 2c 20 22 22 |ngettext| ("", ""|
|00001600| 2c 20 30 29 5d 2c 20 5b | 5d 29 5b 20 2b 20 5f 6e |, 0)], [|])[ + _n|
|00001610| 6c 5f 6d 73 67 5f 63 61 | 74 5f 63 6e 74 72 20 2b |l_msg_ca|t_cntr +|
|00001620| 20 2a 5f 6e 6c 5f 64 6f | 6d 61 69 6e 5f 62 69 6e | *_nl_do|main_bin|
|00001630| 64 69 6e 67 73 5d 2c 0a | 20 20 20 20 20 20 20 20 |dings],.| |
|00001640| 20 20 20 20 67 74 5f 63 | 76 5f 66 75 6e 63 5f 67 | gt_c|v_func_g|
|00001650| 6e 75 67 65 74 74 65 78 | 74 5f 6c 69 62 63 3d 79 |nugettex|t_libc=y|
|00001660| 65 73 2c 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |es,. | |
|00001670| 67 74 5f 63 76 5f 66 75 | 6e 63 5f 67 6e 75 67 65 |gt_cv_fu|nc_gnuge|
|00001680| 74 74 65 78 74 5f 6c 69 | 62 63 3d 6e 6f 29 5d 29 |ttext_li|bc=no)])|
|00001690| 0a 0a 20 20 20 20 20 20 | 20 20 69 66 20 74 65 73 |.. | if tes|
|000016a0| 74 20 22 24 67 74 5f 63 | 76 5f 66 75 6e 63 5f 67 |t "$gt_c|v_func_g|
|000016b0| 6e 75 67 65 74 74 65 78 | 74 5f 6c 69 62 63 22 20 |nugettex|t_libc" |
|000016c0| 21 3d 20 22 79 65 73 22 | 3b 20 74 68 65 6e 0a 20 |!= "yes"|; then. |
|000016d0| 20 20 20 20 20 20 20 20 | 20 64 6e 6c 20 53 6f 6d | | dnl Som|
|000016e0| 65 74 69 6d 65 73 20 6c | 69 62 69 6e 74 6c 20 72 |etimes l|ibintl r|
|000016f0| 65 71 75 69 72 65 73 20 | 6c 69 62 69 63 6f 6e 76 |equires |libiconv|
|00001700| 2c 20 73 6f 20 66 69 72 | 73 74 20 73 65 61 72 63 |, so fir|st searc|
|00001710| 68 20 66 6f 72 20 6c 69 | 62 69 63 6f 6e 76 2e 0a |h for li|biconv..|
|00001720| 20 20 20 20 20 20 20 20 | 20 20 69 66 65 6c 73 65 | | ifelse|
|00001730| 28 67 74 5f 69 6e 63 6c | 75 64 65 64 5f 69 6e 74 |(gt_incl|uded_int|
|00001740| 6c 2c 20 79 65 73 2c 20 | 2c 20 5b 0a 20 20 20 20 |l, yes, |, [. |
|00001750| 20 20 20 20 20 20 20 20 | 41 4d 5f 49 43 4f 4e 56 | |AM_ICONV|
|00001760| 5f 4c 49 4e 4b 0a 20 20 | 20 20 20 20 20 20 20 20 |_LINK. | |
|00001770| 5d 29 0a 20 20 20 20 20 | 20 20 20 20 20 64 6e 6c |]). | dnl|
|00001780| 20 53 65 61 72 63 68 20 | 66 6f 72 20 6c 69 62 69 | Search |for libi|
|00001790| 6e 74 6c 20 61 6e 64 20 | 64 65 66 69 6e 65 20 4c |ntl and |define L|
|000017a0| 49 42 49 4e 54 4c 2c 20 | 4c 54 4c 49 42 49 4e 54 |IBINTL, |LTLIBINT|
|000017b0| 4c 20 61 6e 64 20 49 4e | 43 49 4e 54 4c 0a 20 20 |L and IN|CINTL. |
|000017c0| 20 20 20 20 20 20 20 20 | 64 6e 6c 20 61 63 63 6f | |dnl acco|
|000017d0| 72 64 69 6e 67 6c 79 2e | 20 44 6f 6e 27 74 20 75 |rdingly.| Don't u|
|000017e0| 73 65 20 41 43 5f 4c 49 | 42 5f 4c 49 4e 4b 46 4c |se AC_LI|B_LINKFL|
|000017f0| 41 47 53 5f 42 4f 44 59 | 28 5b 69 6e 74 6c 5d 2c |AGS_BODY|([intl],|
|00001800| 5b 69 63 6f 6e 76 5d 29 | 0a 20 20 20 20 20 20 20 |[iconv])|. |
|00001810| 20 20 20 64 6e 6c 20 62 | 65 63 61 75 73 65 20 74 | dnl b|ecause t|
|00001820| 68 61 74 20 77 6f 75 6c | 64 20 61 64 64 20 22 2d |hat woul|d add "-|
|00001830| 6c 69 63 6f 6e 76 22 20 | 74 6f 20 4c 49 42 49 4e |liconv" |to LIBIN|
|00001840| 54 4c 20 61 6e 64 20 4c | 54 4c 49 42 49 4e 54 4c |TL and L|TLIBINTL|
|00001850| 0a 20 20 20 20 20 20 20 | 20 20 20 64 6e 6c 20 65 |. | dnl e|
|00001860| 76 65 6e 20 69 66 20 6c | 69 62 69 63 6f 6e 76 20 |ven if l|ibiconv |
|00001870| 64 6f 65 73 6e 27 74 20 | 65 78 69 73 74 2e 0a 20 |doesn't |exist.. |
|00001880| 20 20 20 20 20 20 20 20 | 20 41 43 5f 4c 49 42 5f | | AC_LIB_|
|00001890| 4c 49 4e 4b 46 4c 41 47 | 53 5f 42 4f 44 59 28 5b |LINKFLAG|S_BODY([|
|000018a0| 69 6e 74 6c 5d 29 0a 20 | 20 20 20 20 20 20 20 20 |intl]). | |
|000018b0| 20 41 43 5f 43 41 43 48 | 45 5f 43 48 45 43 4b 28 | AC_CACH|E_CHECK(|
|000018c0| 5b 66 6f 72 20 47 4e 55 | 20 67 65 74 74 65 78 74 |[for GNU| gettext|
|000018d0| 20 69 6e 20 6c 69 62 69 | 6e 74 6c 5d 2c 0a 20 20 | in libi|ntl],. |
|000018e0| 20 20 20 20 20 20 20 20 | 20 20 67 74 5f 63 76 5f | | gt_cv_|
|000018f0| 66 75 6e 63 5f 67 6e 75 | 67 65 74 74 65 78 74 5f |func_gnu|gettext_|
|00001900| 6c 69 62 69 6e 74 6c 2c | 0a 20 20 20 20 20 20 20 |libintl,|. |
|00001910| 20 20 20 20 5b 67 74 5f | 73 61 76 65 5f 43 50 50 | [gt_|save_CPP|
|00001920| 46 4c 41 47 53 3d 22 24 | 43 50 50 46 4c 41 47 53 |FLAGS="$|CPPFLAGS|
|00001930| 22 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 43 50 |". | CP|
|00001940| 50 46 4c 41 47 53 3d 22 | 24 43 50 50 46 4c 41 47 |PFLAGS="|$CPPFLAG|
|00001950| 53 20 24 49 4e 43 49 4e | 54 4c 22 0a 20 20 20 20 |S $INCIN|TL". |
|00001960| 20 20 20 20 20 20 20 20 | 67 74 5f 73 61 76 65 5f | |gt_save_|
|00001970| 4c 49 42 53 3d 22 24 4c | 49 42 53 22 0a 20 20 20 |LIBS="$L|IBS". |
|00001980| 20 20 20 20 20 20 20 20 | 20 4c 49 42 53 3d 22 24 | | LIBS="$|
|00001990| 4c 49 42 53 20 24 4c 49 | 42 49 4e 54 4c 22 0a 20 |LIBS $LI|BINTL". |
|000019a0| 20 20 20 20 20 20 20 20 | 20 20 20 64 6e 6c 20 4e | | dnl N|
|000019b0| 6f 77 20 73 65 65 20 77 | 68 65 74 68 65 72 20 6c |ow see w|hether l|
|000019c0| 69 62 69 6e 74 6c 20 65 | 78 69 73 74 73 20 61 6e |ibintl e|xists an|
|000019d0| 64 20 64 6f 65 73 20 6e | 6f 74 20 64 65 70 65 6e |d does n|ot depen|
|000019e0| 64 20 6f 6e 20 6c 69 62 | 69 63 6f 6e 76 2e 0a 20 |d on lib|iconv.. |
|000019f0| 20 20 20 20 20 20 20 20 | 20 20 20 41 43 5f 54 52 | | AC_TR|
|00001a00| 59 5f 4c 49 4e 4b 28 5b | 23 69 6e 63 6c 75 64 65 |Y_LINK([|#include|
|00001a10| 20 3c 6c 69 62 69 6e 74 | 6c 2e 68 3e 0a 65 78 74 | <libint|l.h>.ext|
|00001a20| 65 72 6e 20 69 6e 74 20 | 5f 6e 6c 5f 6d 73 67 5f |ern int |_nl_msg_|
|00001a30| 63 61 74 5f 63 6e 74 72 | 3b 0a 65 78 74 65 72 6e |cat_cntr|;.extern|
|00001a40| 0a 23 69 66 64 65 66 20 | 5f 5f 63 70 6c 75 73 70 |.#ifdef |__cplusp|
|00001a50| 6c 75 73 0a 22 43 22 0a | 23 65 6e 64 69 66 0a 63 |lus."C".|#endif.c|
|00001a60| 6f 6e 73 74 20 63 68 61 | 72 20 2a 5f 6e 6c 5f 65 |onst cha|r *_nl_e|
|00001a70| 78 70 61 6e 64 5f 61 6c | 69 61 73 20 28 29 3b 5d |xpand_al|ias ();]|
|00001a80| 2c 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,. | |
|00001a90| 5b 62 69 6e 64 74 65 78 | 74 64 6f 6d 61 69 6e 20 |[bindtex|tdomain |
|00001aa0| 28 22 22 2c 20 22 22 29 | 3b 0a 72 65 74 75 72 6e |("", "")|;.return|
|00001ab0| 20 28 69 6e 74 29 20 67 | 65 74 74 65 78 74 20 28 | (int) g|ettext (|
|00001ac0| 22 22 29 5d 69 66 65 6c | 73 65 28 5b 24 32 5d 2c |"")]ifel|se([$2],|
|00001ad0| 20 5b 6e 65 65 64 2d 6e | 67 65 74 74 65 78 74 5d | [need-n|gettext]|
|00001ae0| 2c 20 5b 20 2b 20 28 69 | 6e 74 29 20 6e 67 65 74 |, [ + (i|nt) nget|
|00001af0| 74 65 78 74 20 28 22 22 | 2c 20 22 22 2c 20 30 29 |text (""|, "", 0)|
|00001b00| 5d 2c 20 5b 5d 29 5b 20 | 2b 20 5f 6e 6c 5f 6d 73 |], [])[ |+ _nl_ms|
|00001b10| 67 5f 63 61 74 5f 63 6e | 74 72 20 2b 20 2a 5f 6e |g_cat_cn|tr + *_n|
|00001b20| 6c 5f 65 78 70 61 6e 64 | 5f 61 6c 69 61 73 20 28 |l_expand|_alias (|
|00001b30| 30 29 5d 2c 0a 20 20 20 | 20 20 20 20 20 20 20 20 |0)],. | |
|00001b40| 20 20 20 67 74 5f 63 76 | 5f 66 75 6e 63 5f 67 6e | gt_cv|_func_gn|
|00001b50| 75 67 65 74 74 65 78 74 | 5f 6c 69 62 69 6e 74 6c |ugettext|_libintl|
|00001b60| 3d 79 65 73 2c 0a 20 20 | 20 20 20 20 20 20 20 20 |=yes,. | |
|00001b70| 20 20 20 20 67 74 5f 63 | 76 5f 66 75 6e 63 5f 67 | gt_c|v_func_g|
|00001b80| 6e 75 67 65 74 74 65 78 | 74 5f 6c 69 62 69 6e 74 |nugettex|t_libint|
|00001b90| 6c 3d 6e 6f 29 0a 20 20 | 20 20 20 20 20 20 20 20 |l=no). | |
|00001ba0| 20 20 64 6e 6c 20 4e 6f | 77 20 73 65 65 20 77 68 | dnl No|w see wh|
|00001bb0| 65 74 68 65 72 20 6c 69 | 62 69 6e 74 6c 20 65 78 |ether li|bintl ex|
|00001bc0| 69 73 74 73 20 61 6e 64 | 20 64 65 70 65 6e 64 73 |ists and| depends|
|00001bd0| 20 6f 6e 20 6c 69 62 69 | 63 6f 6e 76 2e 0a 20 20 | on libi|conv.. |
|00001be0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 74 65 73 | | if tes|
|00001bf0| 74 20 22 24 67 74 5f 63 | 76 5f 66 75 6e 63 5f 67 |t "$gt_c|v_func_g|
|00001c00| 6e 75 67 65 74 74 65 78 | 74 5f 6c 69 62 69 6e 74 |nugettex|t_libint|
|00001c10| 6c 22 20 21 3d 20 79 65 | 73 20 26 26 20 74 65 73 |l" != ye|s && tes|
|00001c20| 74 20 2d 6e 20 22 24 4c | 49 42 49 43 4f 4e 56 22 |t -n "$L|IBICONV"|
|00001c30| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 20 |; then. | |
|00001c40| 20 20 20 20 20 4c 49 42 | 53 3d 22 24 4c 49 42 53 | LIB|S="$LIBS|
|00001c50| 20 24 4c 49 42 49 43 4f | 4e 56 22 0a 20 20 20 20 | $LIBICO|NV". |
|00001c60| 20 20 20 20 20 20 20 20 | 20 20 41 43 5f 54 52 59 | | AC_TRY|
|00001c70| 5f 4c 49 4e 4b 28 5b 23 | 69 6e 63 6c 75 64 65 20 |_LINK([#|include |
|00001c80| 3c 6c 69 62 69 6e 74 6c | 2e 68 3e 0a 65 78 74 65 |<libintl|.h>.exte|
|00001c90| 72 6e 20 69 6e 74 20 5f | 6e 6c 5f 6d 73 67 5f 63 |rn int _|nl_msg_c|
|00001ca0| 61 74 5f 63 6e 74 72 3b | 0a 65 78 74 65 72 6e 0a |at_cntr;|.extern.|
|00001cb0| 23 69 66 64 65 66 20 5f | 5f 63 70 6c 75 73 70 6c |#ifdef _|_cpluspl|
|00001cc0| 75 73 0a 22 43 22 0a 23 | 65 6e 64 69 66 0a 63 6f |us."C".#|endif.co|
|00001cd0| 6e 73 74 20 63 68 61 72 | 20 2a 5f 6e 6c 5f 65 78 |nst char| *_nl_ex|
|00001ce0| 70 61 6e 64 5f 61 6c 69 | 61 73 20 28 29 3b 5d 2c |pand_ali|as ();],|
|00001cf0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001d00| 20 5b 62 69 6e 64 74 65 | 78 74 64 6f 6d 61 69 6e | [bindte|xtdomain|
|00001d10| 20 28 22 22 2c 20 22 22 | 29 3b 0a 72 65 74 75 72 | ("", ""|);.retur|
|00001d20| 6e 20 28 69 6e 74 29 20 | 67 65 74 74 65 78 74 20 |n (int) |gettext |
|00001d30| 28 22 22 29 5d 69 66 65 | 6c 73 65 28 5b 24 32 5d |("")]ife|lse([$2]|
|00001d40| 2c 20 5b 6e 65 65 64 2d | 6e 67 65 74 74 65 78 74 |, [need-|ngettext|
|00001d50| 5d 2c 20 5b 20 2b 20 28 | 69 6e 74 29 20 6e 67 65 |], [ + (|int) nge|
|00001d60| 74 74 65 78 74 20 28 22 | 22 2c 20 22 22 2c 20 30 |ttext ("|", "", 0|
|00001d70| 29 5d 2c 20 5b 5d 29 5b | 20 2b 20 5f 6e 6c 5f 6d |)], [])[| + _nl_m|
|00001d80| 73 67 5f 63 61 74 5f 63 | 6e 74 72 20 2b 20 2a 5f |sg_cat_c|ntr + *_|
|00001d90| 6e 6c 5f 65 78 70 61 6e | 64 5f 61 6c 69 61 73 20 |nl_expan|d_alias |
|00001da0| 28 30 29 5d 2c 0a 20 20 | 20 20 20 20 20 20 20 20 |(0)],. | |
|00001db0| 20 20 20 20 20 5b 4c 49 | 42 49 4e 54 4c 3d 22 24 | [LI|BINTL="$|
|00001dc0| 4c 49 42 49 4e 54 4c 20 | 24 4c 49 42 49 43 4f 4e |LIBINTL |$LIBICON|
|00001dd0| 56 22 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |V". | |
|00001de0| 20 20 20 4c 54 4c 49 42 | 49 4e 54 4c 3d 22 24 4c | LTLIB|INTL="$L|
|00001df0| 54 4c 49 42 49 4e 54 4c | 20 24 4c 54 4c 49 42 49 |TLIBINTL| $LTLIBI|
|00001e00| 43 4f 4e 56 22 0a 20 20 | 20 20 20 20 20 20 20 20 |CONV". | |
|00001e10| 20 20 20 20 20 20 67 74 | 5f 63 76 5f 66 75 6e 63 | gt|_cv_func|
|00001e20| 5f 67 6e 75 67 65 74 74 | 65 78 74 5f 6c 69 62 69 |_gnugett|ext_libi|
|00001e30| 6e 74 6c 3d 79 65 73 0a | 20 20 20 20 20 20 20 20 |ntl=yes.| |
|00001e40| 20 20 20 20 20 20 20 5d | 29 0a 20 20 20 20 20 20 | ]|). |
|00001e50| 20 20 20 20 20 20 66 69 | 0a 20 20 20 20 20 20 20 | fi|. |
|00001e60| 20 20 20 20 20 43 50 50 | 46 4c 41 47 53 3d 22 24 | CPP|FLAGS="$|
|00001e70| 67 74 5f 73 61 76 65 5f | 43 50 50 46 4c 41 47 53 |gt_save_|CPPFLAGS|
|00001e80| 22 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 4c 49 |". | LI|
|00001e90| 42 53 3d 22 24 67 74 5f | 73 61 76 65 5f 4c 49 42 |BS="$gt_|save_LIB|
|00001ea0| 53 22 5d 29 0a 20 20 20 | 20 20 20 20 20 66 69 0a |S"]). | fi.|
|00001eb0| 0a 20 20 20 20 20 20 20 | 20 64 6e 6c 20 49 66 20 |. | dnl If |
|00001ec0| 61 6e 20 61 6c 72 65 61 | 64 79 20 70 72 65 73 65 |an alrea|dy prese|
|00001ed0| 6e 74 20 6f 72 20 70 72 | 65 69 6e 73 74 61 6c 6c |nt or pr|einstall|
|00001ee0| 65 64 20 47 4e 55 20 67 | 65 74 74 65 78 74 28 29 |ed GNU g|ettext()|
|00001ef0| 20 69 73 20 66 6f 75 6e | 64 2c 0a 20 20 20 20 20 | is foun|d,. |
|00001f00| 20 20 20 64 6e 6c 20 75 | 73 65 20 69 74 2e 20 20 | dnl u|se it. |
|00001f10| 42 75 74 20 69 66 20 74 | 68 69 73 20 6d 61 63 72 |But if t|his macr|
|00001f20| 6f 20 69 73 20 75 73 65 | 64 20 69 6e 20 47 4e 55 |o is use|d in GNU|
|00001f30| 20 67 65 74 74 65 78 74 | 2c 20 61 6e 64 20 47 4e | gettext|, and GN|
|00001f40| 55 0a 20 20 20 20 20 20 | 20 20 64 6e 6c 20 67 65 |U. | dnl ge|
|00001f50| 74 74 65 78 74 20 69 73 | 20 61 6c 72 65 61 64 79 |ttext is| already|
|00001f60| 20 70 72 65 69 6e 73 74 | 61 6c 6c 65 64 20 69 6e | preinst|alled in|
|00001f70| 20 6c 69 62 69 6e 74 6c | 2c 20 77 65 20 75 70 64 | libintl|, we upd|
|00001f80| 61 74 65 20 74 68 69 73 | 0a 20 20 20 20 20 20 20 |ate this|. |
|00001f90| 20 64 6e 6c 20 6c 69 62 | 69 6e 74 6c 2e 20 20 28 | dnl lib|intl. (|
|00001fa0| 43 66 2e 20 74 68 65 20 | 69 6e 73 74 61 6c 6c 20 |Cf. the |install |
|00001fb0| 72 75 6c 65 20 69 6e 20 | 69 6e 74 6c 2f 4d 61 6b |rule in |intl/Mak|
|00001fc0| 65 66 69 6c 65 2e 69 6e | 2e 29 0a 20 20 20 20 20 |efile.in|.). |
|00001fd0| 20 20 20 69 66 20 74 65 | 73 74 20 22 24 67 74 5f | if te|st "$gt_|
|00001fe0| 63 76 5f 66 75 6e 63 5f | 67 6e 75 67 65 74 74 65 |cv_func_|gnugette|
|00001ff0| 78 74 5f 6c 69 62 63 22 | 20 3d 20 22 79 65 73 22 |xt_libc"| = "yes"|
|00002000| 20 5c 0a 20 20 20 20 20 | 20 20 20 20 20 20 7c 7c | \. | |||
|00002010| 20 7b 20 74 65 73 74 20 | 22 24 67 74 5f 63 76 5f | { test |"$gt_cv_|
|00002020| 66 75 6e 63 5f 67 6e 75 | 67 65 74 74 65 78 74 5f |func_gnu|gettext_|
|00002030| 6c 69 62 69 6e 74 6c 22 | 20 3d 20 22 79 65 73 22 |libintl"| = "yes"|
|00002040| 20 5c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | \. | |
|00002050| 20 20 20 26 26 20 74 65 | 73 74 20 22 24 50 41 43 | && te|st "$PAC|
|00002060| 4b 41 47 45 22 20 21 3d | 20 67 65 74 74 65 78 74 |KAGE" !=| gettext|
|00002070| 3b 20 7d 3b 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |; }; the|n. |
|00002080| 20 20 20 20 67 74 5f 75 | 73 65 5f 70 72 65 69 6e | gt_u|se_prein|
|00002090| 73 74 61 6c 6c 65 64 5f | 67 6e 75 67 65 74 74 65 |stalled_|gnugette|
|000020a0| 78 74 3d 79 65 73 0a 20 | 20 20 20 20 20 20 20 65 |xt=yes. | e|
|000020b0| 6c 73 65 0a 20 20 20 20 | 20 20 20 20 20 20 64 6e |lse. | dn|
|000020c0| 6c 20 52 65 73 65 74 20 | 74 68 65 20 76 61 6c 75 |l Reset |the valu|
|000020d0| 65 73 20 73 65 74 20 62 | 79 20 73 65 61 72 63 68 |es set b|y search|
|000020e0| 69 6e 67 20 66 6f 72 20 | 6c 69 62 69 6e 74 6c 2e |ing for |libintl.|
|000020f0| 0a 20 20 20 20 20 20 20 | 20 20 20 4c 49 42 49 4e |. | LIBIN|
|00002100| 54 4c 3d 0a 20 20 20 20 | 20 20 20 20 20 20 4c 54 |TL=. | LT|
|00002110| 4c 49 42 49 4e 54 4c 3d | 0a 20 20 20 20 20 20 20 |LIBINTL=|. |
|00002120| 20 20 20 49 4e 43 49 4e | 54 4c 3d 0a 20 20 20 20 | INCIN|TL=. |
|00002130| 20 20 20 20 66 69 0a 0a | 20 20 20 20 69 66 65 6c | fi..| ifel|
|00002140| 73 65 28 67 74 5f 69 6e | 63 6c 75 64 65 64 5f 69 |se(gt_in|cluded_i|
|00002150| 6e 74 6c 2c 20 79 65 73 | 2c 20 5b 0a 20 20 20 20 |ntl, yes|, [. |
|00002160| 20 20 20 20 69 66 20 74 | 65 73 74 20 22 24 67 74 | if t|est "$gt|
|00002170| 5f 75 73 65 5f 70 72 65 | 69 6e 73 74 61 6c 6c 65 |_use_pre|installe|
|00002180| 64 5f 67 6e 75 67 65 74 | 74 65 78 74 22 20 21 3d |d_gnuget|text" !=|
|00002190| 20 22 79 65 73 22 3b 20 | 74 68 65 6e 0a 20 20 20 | "yes"; |then. |
|000021a0| 20 20 20 20 20 20 20 64 | 6e 6c 20 47 4e 55 20 67 | d|nl GNU g|
|000021b0| 65 74 74 65 78 74 20 69 | 73 20 6e 6f 74 20 66 6f |ettext i|s not fo|
|000021c0| 75 6e 64 20 69 6e 20 74 | 68 65 20 43 20 6c 69 62 |und in t|he C lib|
|000021d0| 72 61 72 79 2e 0a 20 20 | 20 20 20 20 20 20 20 20 |rary.. | |
|000021e0| 64 6e 6c 20 46 61 6c 6c | 20 62 61 63 6b 20 6f 6e |dnl Fall| back on|
|000021f0| 20 69 6e 63 6c 75 64 65 | 64 20 47 4e 55 20 67 65 | include|d GNU ge|
|00002200| 74 74 65 78 74 20 6c 69 | 62 72 61 72 79 2e 0a 20 |ttext li|brary.. |
|00002210| 20 20 20 20 20 20 20 20 | 20 6e 6c 73 5f 63 76 5f | | nls_cv_|
|00002220| 75 73 65 5f 67 6e 75 5f | 67 65 74 74 65 78 74 3d |use_gnu_|gettext=|
|00002230| 79 65 73 0a 20 20 20 20 | 20 20 20 20 66 69 0a 20 |yes. | fi. |
|00002240| 20 20 20 20 20 66 69 0a | 0a 20 20 20 20 20 20 69 | fi.|. i|
|00002250| 66 20 74 65 73 74 20 22 | 24 6e 6c 73 5f 63 76 5f |f test "|$nls_cv_|
|00002260| 75 73 65 5f 67 6e 75 5f | 67 65 74 74 65 78 74 22 |use_gnu_|gettext"|
|00002270| 20 3d 20 22 79 65 73 22 | 3b 20 74 68 65 6e 0a 20 | = "yes"|; then. |
|00002280| 20 20 20 20 20 20 20 64 | 6e 6c 20 4d 61 72 6b 20 | d|nl Mark |
|00002290| 61 63 74 69 6f 6e 73 20 | 75 73 65 64 20 74 6f 20 |actions |used to |
|000022a0| 67 65 6e 65 72 61 74 65 | 20 47 4e 55 20 4e 4c 53 |generate| GNU NLS|
|000022b0| 20 6c 69 62 72 61 72 79 | 2e 0a 20 20 20 20 20 20 | library|.. |
|000022c0| 20 20 49 4e 54 4c 4f 42 | 4a 53 3d 22 5c 24 28 47 | INTLOB|JS="\$(G|
|000022d0| 45 54 54 4f 42 4a 53 29 | 22 0a 20 20 20 20 20 20 |ETTOBJS)|". |
|000022e0| 20 20 42 55 49 4c 44 5f | 49 4e 43 4c 55 44 45 44 | BUILD_|INCLUDED|
|000022f0| 5f 4c 49 42 49 4e 54 4c | 3d 79 65 73 0a 20 20 20 |_LIBINTL|=yes. |
|00002300| 20 20 20 20 20 55 53 45 | 5f 49 4e 43 4c 55 44 45 | USE|_INCLUDE|
|00002310| 44 5f 4c 49 42 49 4e 54 | 4c 3d 79 65 73 0a 20 20 |D_LIBINT|L=yes. |
|00002320| 20 20 20 20 20 20 4c 49 | 42 49 4e 54 4c 3d 22 69 | LI|BINTL="i|
|00002330| 66 65 6c 73 65 28 5b 24 | 33 5d 2c 5b 5d 2c 5c 24 |felse([$|3],[],\$|
|00002340| 7b 74 6f 70 5f 62 75 69 | 6c 64 64 69 72 7d 2f 69 |{top_bui|lddir}/i|
|00002350| 6e 74 6c 2c 5b 24 33 5d | 29 2f 6c 69 62 69 6e 74 |ntl,[$3]|)/libint|
|00002360| 6c 2e 5b 5d 67 74 5f 6c | 69 62 74 6f 6f 6c 5f 73 |l.[]gt_l|ibtool_s|
|00002370| 75 66 66 69 78 5f 70 72 | 65 66 69 78 5b 5d 61 20 |uffix_pr|efix[]a |
|00002380| 24 4c 49 42 49 43 4f 4e | 56 22 0a 20 20 20 20 20 |$LIBICON|V". |
|00002390| 20 20 20 4c 54 4c 49 42 | 49 4e 54 4c 3d 22 69 66 | LTLIB|INTL="if|
|000023a0| 65 6c 73 65 28 5b 24 33 | 5d 2c 5b 5d 2c 5c 24 7b |else([$3|],[],\${|
|000023b0| 74 6f 70 5f 62 75 69 6c | 64 64 69 72 7d 2f 69 6e |top_buil|ddir}/in|
|000023c0| 74 6c 2c 5b 24 33 5d 29 | 2f 6c 69 62 69 6e 74 6c |tl,[$3])|/libintl|
|000023d0| 2e 5b 5d 67 74 5f 6c 69 | 62 74 6f 6f 6c 5f 73 75 |.[]gt_li|btool_su|
|000023e0| 66 66 69 78 5f 70 72 65 | 66 69 78 5b 5d 61 20 24 |ffix_pre|fix[]a $|
|000023f0| 4c 54 4c 49 42 49 43 4f | 4e 56 22 0a 20 20 20 20 |LTLIBICO|NV". |
|00002400| 20 20 20 20 4c 49 42 53 | 3d 60 65 63 68 6f 20 22 | LIBS|=`echo "|
|00002410| 20 24 4c 49 42 53 20 22 | 20 7c 20 73 65 64 20 2d | $LIBS "| | sed -|
|00002420| 65 20 27 73 2f 20 2d 6c | 69 6e 74 6c 20 2f 20 2f |e 's/ -l|intl / /|
|00002430| 27 20 2d 65 20 27 73 2f | 5e 20 2f 2f 27 20 2d 65 |' -e 's/|^ //' -e|
|00002440| 20 27 73 2f 20 24 2f 2f | 27 60 0a 20 20 20 20 20 | 's/ $//|'`. |
|00002450| 20 66 69 0a 0a 20 20 20 | 20 20 20 69 66 20 74 65 | fi.. | if te|
|00002460| 73 74 20 22 24 67 74 5f | 75 73 65 5f 70 72 65 69 |st "$gt_|use_prei|
|00002470| 6e 73 74 61 6c 6c 65 64 | 5f 67 6e 75 67 65 74 74 |nstalled|_gnugett|
|00002480| 65 78 74 22 20 3d 20 22 | 79 65 73 22 20 5c 0a 20 |ext" = "|yes" \. |
|00002490| 20 20 20 20 20 20 20 20 | 7c 7c 20 74 65 73 74 20 | ||| test |
|000024a0| 22 24 6e 6c 73 5f 63 76 | 5f 75 73 65 5f 67 6e 75 |"$nls_cv|_use_gnu|
|000024b0| 5f 67 65 74 74 65 78 74 | 22 20 3d 20 22 79 65 73 |_gettext|" = "yes|
|000024c0| 22 3b 20 74 68 65 6e 0a | 20 20 20 20 20 20 20 20 |"; then.| |
|000024d0| 64 6e 6c 20 4d 61 72 6b | 20 61 63 74 69 6f 6e 73 |dnl Mark| actions|
|000024e0| 20 74 6f 20 75 73 65 20 | 47 4e 55 20 67 65 74 74 | to use |GNU gett|
|000024f0| 65 78 74 20 74 6f 6f 6c | 73 2e 0a 20 20 20 20 20 |ext tool|s.. |
|00002500| 20 20 20 43 41 54 4f 42 | 4a 45 58 54 3d 2e 67 6d | CATOB|JEXT=.gm|
|00002510| 6f 0a 20 20 20 20 20 20 | 66 69 0a 20 20 20 20 5d |o. |fi. ]|
|00002520| 29 0a 0a 20 20 20 20 69 | 66 20 74 65 73 74 20 22 |).. i|f test "|
|00002530| 24 67 74 5f 75 73 65 5f | 70 72 65 69 6e 73 74 61 |$gt_use_|preinsta|
|00002540| 6c 6c 65 64 5f 67 6e 75 | 67 65 74 74 65 78 74 22 |lled_gnu|gettext"|
|00002550| 20 3d 20 22 79 65 73 22 | 20 5c 0a 20 20 20 20 20 | = "yes"| \. |
|00002560| 20 20 7c 7c 20 74 65 73 | 74 20 22 24 6e 6c 73 5f | || tes|t "$nls_|
|00002570| 63 76 5f 75 73 65 5f 67 | 6e 75 5f 67 65 74 74 65 |cv_use_g|nu_gette|
|00002580| 78 74 22 20 3d 20 22 79 | 65 73 22 3b 20 74 68 65 |xt" = "y|es"; the|
|00002590| 6e 0a 20 20 20 20 20 20 | 41 43 5f 44 45 46 49 4e |n. |AC_DEFIN|
|000025a0| 45 28 45 4e 41 42 4c 45 | 5f 4e 4c 53 2c 20 31 2c |E(ENABLE|_NLS, 1,|
|000025b0| 0a 20 20 20 20 20 20 20 | 20 5b 44 65 66 69 6e 65 |. | [Define|
|000025c0| 20 74 6f 20 31 20 69 66 | 20 74 72 61 6e 73 6c 61 | to 1 if| transla|
|000025d0| 74 69 6f 6e 20 6f 66 20 | 70 72 6f 67 72 61 6d 20 |tion of |program |
|000025e0| 6d 65 73 73 61 67 65 73 | 20 74 6f 20 74 68 65 20 |messages| to the |
|000025f0| 75 73 65 72 27 73 20 6e | 61 74 69 76 65 20 6c 61 |user's n|ative la|
|00002600| 6e 67 75 61 67 65 0a 20 | 20 20 69 73 20 72 65 71 |nguage. | is req|
|00002610| 75 65 73 74 65 64 2e 5d | 29 0a 20 20 20 20 65 6c |uested.]|). el|
|00002620| 73 65 0a 20 20 20 20 20 | 20 55 53 45 5f 4e 4c 53 |se. | USE_NLS|
|00002630| 3d 6e 6f 0a 20 20 20 20 | 66 69 0a 20 20 66 69 0a |=no. |fi. fi.|
|00002640| 0a 20 20 69 66 20 74 65 | 73 74 20 22 24 55 53 45 |. if te|st "$USE|
|00002650| 5f 4e 4c 53 22 20 3d 20 | 22 79 65 73 22 3b 20 74 |_NLS" = |"yes"; t|
|00002660| 68 65 6e 0a 0a 20 20 20 | 20 69 66 20 74 65 73 74 |hen.. | if test|
|00002670| 20 22 24 67 74 5f 75 73 | 65 5f 70 72 65 69 6e 73 | "$gt_us|e_preins|
|00002680| 74 61 6c 6c 65 64 5f 67 | 6e 75 67 65 74 74 65 78 |talled_g|nugettex|
|00002690| 74 22 20 3d 20 22 79 65 | 73 22 3b 20 74 68 65 6e |t" = "ye|s"; then|
|000026a0| 0a 20 20 20 20 20 20 69 | 66 20 74 65 73 74 20 22 |. i|f test "|
|000026b0| 24 67 74 5f 63 76 5f 66 | 75 6e 63 5f 67 6e 75 67 |$gt_cv_f|unc_gnug|
|000026c0| 65 74 74 65 78 74 5f 6c | 69 62 69 6e 74 6c 22 20 |ettext_l|ibintl" |
|000026d0| 3d 20 22 79 65 73 22 3b | 20 74 68 65 6e 0a 20 20 |= "yes";| then. |
|000026e0| 20 20 20 20 20 20 41 43 | 5f 4d 53 47 5f 43 48 45 | AC|_MSG_CHE|
|000026f0| 43 4b 49 4e 47 28 5b 68 | 6f 77 20 74 6f 20 6c 69 |CKING([h|ow to li|
|00002700| 6e 6b 20 77 69 74 68 20 | 6c 69 62 69 6e 74 6c 5d |nk with |libintl]|
|00002710| 29 0a 20 20 20 20 20 20 | 20 20 41 43 5f 4d 53 47 |). | AC_MSG|
|00002720| 5f 52 45 53 55 4c 54 28 | 5b 24 4c 49 42 49 4e 54 |_RESULT(|[$LIBINT|
|00002730| 4c 5d 29 0a 20 20 20 20 | 20 20 20 20 41 43 5f 4c |L]). | AC_L|
|00002740| 49 42 5f 41 50 50 45 4e | 44 54 4f 56 41 52 28 5b |IB_APPEN|DTOVAR([|
|00002750| 43 50 50 46 4c 41 47 53 | 5d 2c 20 5b 24 49 4e 43 |CPPFLAGS|], [$INC|
|00002760| 49 4e 54 4c 5d 29 0a 20 | 20 20 20 20 20 66 69 0a |INTL]). | fi.|
|00002770| 0a 20 20 20 20 20 20 64 | 6e 6c 20 46 6f 72 20 62 |. d|nl For b|
|00002780| 61 63 6b 77 61 72 64 20 | 63 6f 6d 70 61 74 69 62 |ackward |compatib|
|00002790| 69 6c 69 74 79 2e 20 53 | 6f 6d 65 20 70 61 63 6b |ility. S|ome pack|
|000027a0| 61 67 65 73 20 6d 61 79 | 20 62 65 20 75 73 69 6e |ages may| be usin|
|000027b0| 67 20 74 68 69 73 2e 0a | 20 20 20 20 20 20 41 43 |g this..| AC|
|000027c0| 5f 44 45 46 49 4e 45 28 | 48 41 56 45 5f 47 45 54 |_DEFINE(|HAVE_GET|
|000027d0| 54 45 58 54 2c 20 31 2c | 0a 20 20 20 20 20 20 20 |TEXT, 1,|. |
|000027e0| 5b 44 65 66 69 6e 65 20 | 69 66 20 74 68 65 20 47 |[Define |if the G|
|000027f0| 4e 55 20 67 65 74 74 65 | 78 74 28 29 20 66 75 6e |NU gette|xt() fun|
|00002800| 63 74 69 6f 6e 20 69 73 | 20 61 6c 72 65 61 64 79 |ction is| already|
|00002810| 20 70 72 65 73 65 6e 74 | 20 6f 72 20 70 72 65 69 | present| or prei|
|00002820| 6e 73 74 61 6c 6c 65 64 | 2e 5d 29 0a 20 20 20 20 |nstalled|.]). |
|00002830| 20 20 41 43 5f 44 45 46 | 49 4e 45 28 48 41 56 45 | AC_DEF|INE(HAVE|
|00002840| 5f 44 43 47 45 54 54 45 | 58 54 2c 20 31 2c 0a 20 |_DCGETTE|XT, 1,. |
|00002850| 20 20 20 20 20 20 5b 44 | 65 66 69 6e 65 20 69 66 | [D|efine if|
|00002860| 20 74 68 65 20 47 4e 55 | 20 64 63 67 65 74 74 65 | the GNU| dcgette|
|00002870| 78 74 28 29 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |xt() fun|ction is|
|00002880| 20 61 6c 72 65 61 64 79 | 20 70 72 65 73 65 6e 74 | already| present|
|00002890| 20 6f 72 20 70 72 65 69 | 6e 73 74 61 6c 6c 65 64 | or prei|nstalled|
|000028a0| 2e 5d 29 0a 20 20 20 20 | 66 69 0a 0a 20 20 20 20 |.]). |fi.. |
|000028b0| 64 6e 6c 20 57 65 20 6e | 65 65 64 20 74 6f 20 70 |dnl We n|eed to p|
|000028c0| 72 6f 63 65 73 73 20 74 | 68 65 20 70 6f 2f 20 64 |rocess t|he po/ d|
|000028d0| 69 72 65 63 74 6f 72 79 | 2e 0a 20 20 20 20 50 4f |irectory|.. PO|
|000028e0| 53 55 42 3d 70 6f 0a 20 | 20 66 69 0a 0a 20 20 69 |SUB=po. | fi.. i|
|000028f0| 66 65 6c 73 65 28 67 74 | 5f 69 6e 63 6c 75 64 65 |felse(gt|_include|
|00002900| 64 5f 69 6e 74 6c 2c 20 | 79 65 73 2c 20 5b 0a 20 |d_intl, |yes, [. |
|00002910| 20 20 20 64 6e 6c 20 49 | 66 20 74 68 69 73 20 69 | dnl I|f this i|
|00002920| 73 20 75 73 65 64 20 69 | 6e 20 47 4e 55 20 67 65 |s used i|n GNU ge|
|00002930| 74 74 65 78 74 20 77 65 | 20 68 61 76 65 20 74 6f |ttext we| have to|
|00002940| 20 73 65 74 20 42 55 49 | 4c 44 5f 49 4e 43 4c 55 | set BUI|LD_INCLU|
|00002950| 44 45 44 5f 4c 49 42 49 | 4e 54 4c 0a 20 20 20 20 |DED_LIBI|NTL. |
|00002960| 64 6e 6c 20 74 6f 20 27 | 79 65 73 27 20 62 65 63 |dnl to '|yes' bec|
|00002970| 61 75 73 65 20 73 6f 6d | 65 20 6f 66 20 74 68 65 |ause som|e of the|
|00002980| 20 74 65 73 74 73 75 69 | 74 65 20 72 65 71 75 69 | testsui|te requi|
|00002990| 72 65 73 20 69 74 2e 0a | 20 20 20 20 69 66 20 74 |res it..| if t|
|000029a0| 65 73 74 20 22 24 50 41 | 43 4b 41 47 45 22 20 3d |est "$PA|CKAGE" =|
|000029b0| 20 67 65 74 74 65 78 74 | 3b 20 74 68 65 6e 0a 20 | gettext|; then. |
|000029c0| 20 20 20 20 20 42 55 49 | 4c 44 5f 49 4e 43 4c 55 | BUI|LD_INCLU|
|000029d0| 44 45 44 5f 4c 49 42 49 | 4e 54 4c 3d 79 65 73 0a |DED_LIBI|NTL=yes.|
|000029e0| 20 20 20 20 66 69 0a 0a | 20 20 20 20 64 6e 6c 20 | fi..| dnl |
|000029f0| 4d 61 6b 65 20 61 6c 6c | 20 76 61 72 69 61 62 6c |Make all| variabl|
|00002a00| 65 73 20 77 65 20 75 73 | 65 20 6b 6e 6f 77 6e 20 |es we us|e known |
|00002a10| 74 6f 20 61 75 74 6f 63 | 6f 6e 66 2e 0a 20 20 20 |to autoc|onf.. |
|00002a20| 20 41 43 5f 53 55 42 53 | 54 28 42 55 49 4c 44 5f | AC_SUBS|T(BUILD_|
|00002a30| 49 4e 43 4c 55 44 45 44 | 5f 4c 49 42 49 4e 54 4c |INCLUDED|_LIBINTL|
|00002a40| 29 0a 20 20 20 20 41 43 | 5f 53 55 42 53 54 28 55 |). AC|_SUBST(U|
|00002a50| 53 45 5f 49 4e 43 4c 55 | 44 45 44 5f 4c 49 42 49 |SE_INCLU|DED_LIBI|
|00002a60| 4e 54 4c 29 0a 20 20 20 | 20 41 43 5f 53 55 42 53 |NTL). | AC_SUBS|
|00002a70| 54 28 43 41 54 4f 42 4a | 45 58 54 29 0a 20 20 20 |T(CATOBJ|EXT). |
|00002a80| 20 41 43 5f 53 55 42 53 | 54 28 49 4e 54 4c 4f 42 | AC_SUBS|T(INTLOB|
|00002a90| 4a 53 29 0a 0a 20 20 20 | 20 64 6e 6c 20 46 6f 72 |JS).. | dnl For|
|00002aa0| 20 62 61 63 6b 77 61 72 | 64 20 63 6f 6d 70 61 74 | backwar|d compat|
|00002ab0| 69 62 69 6c 69 74 79 2e | 20 53 6f 6d 65 20 63 6f |ibility.| Some co|
|00002ac0| 6e 66 69 67 75 72 65 2e | 69 6e 73 20 6d 61 79 20 |nfigure.|ins may |
|00002ad0| 62 65 20 75 73 69 6e 67 | 20 74 68 69 73 2e 0a 20 |be using| this.. |
|00002ae0| 20 20 20 6e 6c 73 5f 63 | 76 5f 68 65 61 64 65 72 | nls_c|v_header|
|00002af0| 5f 69 6e 74 6c 3d 0a 20 | 20 20 20 6e 6c 73 5f 63 |_intl=. | nls_c|
|00002b00| 76 5f 68 65 61 64 65 72 | 5f 6c 69 62 67 74 3d 0a |v_header|_libgt=.|
|00002b10| 0a 20 20 20 20 64 6e 6c | 20 46 6f 72 20 62 61 63 |. dnl| For bac|
|00002b20| 6b 77 61 72 64 20 63 6f | 6d 70 61 74 69 62 69 6c |kward co|mpatibil|
|00002b30| 69 74 79 2e 20 53 6f 6d | 65 20 4d 61 6b 65 66 69 |ity. Som|e Makefi|
|00002b40| 6c 65 73 20 6d 61 79 20 | 62 65 20 75 73 69 6e 67 |les may |be using|
|00002b50| 20 74 68 69 73 2e 0a 20 | 20 20 20 44 41 54 41 44 | this.. | DATAD|
|00002b60| 49 52 4e 41 4d 45 3d 73 | 68 61 72 65 0a 20 20 20 |IRNAME=s|hare. |
|00002b70| 20 41 43 5f 53 55 42 53 | 54 28 44 41 54 41 44 49 | AC_SUBS|T(DATADI|
|00002b80| 52 4e 41 4d 45 29 0a 0a | 20 20 20 20 64 6e 6c 20 |RNAME)..| dnl |
|00002b90| 46 6f 72 20 62 61 63 6b | 77 61 72 64 20 63 6f 6d |For back|ward com|
|00002ba0| 70 61 74 69 62 69 6c 69 | 74 79 2e 20 53 6f 6d 65 |patibili|ty. Some|
|00002bb0| 20 4d 61 6b 65 66 69 6c | 65 73 20 6d 61 79 20 62 | Makefil|es may b|
|00002bc0| 65 20 75 73 69 6e 67 20 | 74 68 69 73 2e 0a 20 20 |e using |this.. |
|00002bd0| 20 20 49 4e 53 54 4f 42 | 4a 45 58 54 3d 2e 6d 6f | INSTOB|JEXT=.mo|
|00002be0| 0a 20 20 20 20 41 43 5f | 53 55 42 53 54 28 49 4e |. AC_|SUBST(IN|
|00002bf0| 53 54 4f 42 4a 45 58 54 | 29 0a 0a 20 20 20 20 64 |STOBJEXT|).. d|
|00002c00| 6e 6c 20 46 6f 72 20 62 | 61 63 6b 77 61 72 64 20 |nl For b|ackward |
|00002c10| 63 6f 6d 70 61 74 69 62 | 69 6c 69 74 79 2e 20 53 |compatib|ility. S|
|00002c20| 6f 6d 65 20 4d 61 6b 65 | 66 69 6c 65 73 20 6d 61 |ome Make|files ma|
|00002c30| 79 20 62 65 20 75 73 69 | 6e 67 20 74 68 69 73 2e |y be usi|ng this.|
|00002c40| 0a 20 20 20 20 47 45 4e | 43 41 54 3d 67 65 6e 63 |. GEN|CAT=genc|
|00002c50| 61 74 0a 20 20 20 20 41 | 43 5f 53 55 42 53 54 28 |at. A|C_SUBST(|
|00002c60| 47 45 4e 43 41 54 29 0a | 0a 20 20 20 20 64 6e 6c |GENCAT).|. dnl|
|00002c70| 20 45 6e 61 62 6c 65 20 | 6c 69 62 74 6f 6f 6c 20 | Enable |libtool |
|00002c80| 73 75 70 70 6f 72 74 20 | 69 66 20 74 68 65 20 73 |support |if the s|
|00002c90| 75 72 72 6f 75 6e 64 69 | 6e 67 20 70 61 63 6b 61 |urroundi|ng packa|
|00002ca0| 67 65 20 77 69 73 68 65 | 73 20 69 74 2e 0a 20 20 |ge wishe|s it.. |
|00002cb0| 20 20 49 4e 54 4c 5f 4c | 49 42 54 4f 4f 4c 5f 53 | INTL_L|IBTOOL_S|
|00002cc0| 55 46 46 49 58 5f 50 52 | 45 46 49 58 3d 67 74 5f |UFFIX_PR|EFIX=gt_|
|00002cd0| 6c 69 62 74 6f 6f 6c 5f | 73 75 66 66 69 78 5f 70 |libtool_|suffix_p|
|00002ce0| 72 65 66 69 78 0a 20 20 | 20 20 41 43 5f 53 55 42 |refix. | AC_SUB|
|00002cf0| 53 54 28 49 4e 54 4c 5f | 4c 49 42 54 4f 4f 4c 5f |ST(INTL_|LIBTOOL_|
|00002d00| 53 55 46 46 49 58 5f 50 | 52 45 46 49 58 29 0a 20 |SUFFIX_P|REFIX). |
|00002d10| 20 5d 29 0a 0a 20 20 64 | 6e 6c 20 46 6f 72 20 62 | ]).. d|nl For b|
|00002d20| 61 63 6b 77 61 72 64 20 | 63 6f 6d 70 61 74 69 62 |ackward |compatib|
|00002d30| 69 6c 69 74 79 2e 20 53 | 6f 6d 65 20 4d 61 6b 65 |ility. S|ome Make|
|00002d40| 66 69 6c 65 73 20 6d 61 | 79 20 62 65 20 75 73 69 |files ma|y be usi|
|00002d50| 6e 67 20 74 68 69 73 2e | 0a 20 20 49 4e 54 4c 4c |ng this.|. INTLL|
|00002d60| 49 42 53 3d 22 24 4c 49 | 42 49 4e 54 4c 22 0a 20 |IBS="$LI|BINTL". |
|00002d70| 20 41 43 5f 53 55 42 53 | 54 28 49 4e 54 4c 4c 49 | AC_SUBS|T(INTLLI|
|00002d80| 42 53 29 0a 0a 20 20 64 | 6e 6c 20 4d 61 6b 65 20 |BS).. d|nl Make |
|00002d90| 61 6c 6c 20 64 6f 63 75 | 6d 65 6e 74 65 64 20 76 |all docu|mented v|
|00002da0| 61 72 69 61 62 6c 65 73 | 20 6b 6e 6f 77 6e 20 74 |ariables| known t|
|00002db0| 6f 20 61 75 74 6f 63 6f | 6e 66 2e 0a 20 20 41 43 |o autoco|nf.. AC|
|00002dc0| 5f 53 55 42 53 54 28 4c | 49 42 49 4e 54 4c 29 0a |_SUBST(L|IBINTL).|
|00002dd0| 20 20 41 43 5f 53 55 42 | 53 54 28 4c 54 4c 49 42 | AC_SUB|ST(LTLIB|
|00002de0| 49 4e 54 4c 29 0a 20 20 | 41 43 5f 53 55 42 53 54 |INTL). |AC_SUBST|
|00002df0| 28 50 4f 53 55 42 29 0a | 5d 29 0a 0a 0a 64 6e 6c |(POSUB).|])...dnl|
|00002e00| 20 43 68 65 63 6b 73 20 | 66 6f 72 20 61 6c 6c 20 | Checks |for all |
|00002e10| 70 72 65 72 65 71 75 69 | 73 69 74 65 73 20 6f 66 |prerequi|sites of|
|00002e20| 20 74 68 65 20 70 6f 20 | 73 75 62 64 69 72 65 63 | the po |subdirec|
|00002e30| 74 6f 72 79 2c 0a 64 6e | 6c 20 65 78 63 65 70 74 |tory,.dn|l except|
|00002e40| 20 66 6f 72 20 55 53 45 | 5f 4e 4c 53 2e 0a 41 43 | for USE|_NLS..AC|
|00002e50| 5f 44 45 46 55 4e 28 5b | 41 4d 5f 50 4f 5f 53 55 |_DEFUN([|AM_PO_SU|
|00002e60| 42 44 49 52 53 5d 2c 0a | 5b 0a 20 20 41 43 5f 52 |BDIRS],.|[. AC_R|
|00002e70| 45 51 55 49 52 45 28 5b | 41 43 5f 50 52 4f 47 5f |EQUIRE([|AC_PROG_|
|00002e80| 4d 41 4b 45 5f 53 45 54 | 5d 29 64 6e 6c 0a 20 20 |MAKE_SET|])dnl. |
|00002e90| 41 43 5f 52 45 51 55 49 | 52 45 28 5b 41 43 5f 50 |AC_REQUI|RE([AC_P|
|00002ea0| 52 4f 47 5f 49 4e 53 54 | 41 4c 4c 5d 29 64 6e 6c |ROG_INST|ALL])dnl|
|00002eb0| 0a 20 20 41 43 5f 52 45 | 51 55 49 52 45 28 5b 41 |. AC_RE|QUIRE([A|
|00002ec0| 4d 5f 4d 4b 49 4e 53 54 | 41 4c 4c 44 49 52 53 5d |M_MKINST|ALLDIRS]|
|00002ed0| 29 64 6e 6c 0a 0a 20 20 | 64 6e 6c 20 50 65 72 66 |)dnl.. |dnl Perf|
|00002ee0| 6f 72 6d 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |orm the |followin|
|00002ef0| 67 20 74 65 73 74 73 20 | 61 6c 73 6f 20 69 66 20 |g tests |also if |
|00002f00| 2d 2d 64 69 73 61 62 6c | 65 2d 6e 6c 73 20 68 61 |--disabl|e-nls ha|
|00002f10| 73 20 62 65 65 6e 20 67 | 69 76 65 6e 2c 0a 20 20 |s been g|iven,. |
|00002f20| 64 6e 6c 20 62 65 63 61 | 75 73 65 20 74 68 65 79 |dnl beca|use they|
|00002f30| 20 61 72 65 20 6e 65 65 | 64 65 64 20 66 6f 72 20 | are nee|ded for |
|00002f40| 22 6d 61 6b 65 20 64 69 | 73 74 22 20 74 6f 20 77 |"make di|st" to w|
|00002f50| 6f 72 6b 2e 0a 0a 20 20 | 64 6e 6c 20 53 65 61 72 |ork... |dnl Sear|
|00002f60| 63 68 20 66 6f 72 20 47 | 4e 55 20 6d 73 67 66 6d |ch for G|NU msgfm|
|00002f70| 74 20 69 6e 20 74 68 65 | 20 50 41 54 48 2e 0a 20 |t in the| PATH.. |
|00002f80| 20 64 6e 6c 20 54 68 65 | 20 66 69 72 73 74 20 74 | dnl The| first t|
|00002f90| 65 73 74 20 65 78 63 6c | 75 64 65 73 20 53 6f 6c |est excl|udes Sol|
|00002fa0| 61 72 69 73 20 6d 73 67 | 66 6d 74 20 61 6e 64 20 |aris msg|fmt and |
|00002fb0| 65 61 72 6c 79 20 47 4e | 55 20 6d 73 67 66 6d 74 |early GN|U msgfmt|
|00002fc0| 20 76 65 72 73 69 6f 6e | 73 2e 0a 20 20 64 6e 6c | version|s.. dnl|
|00002fd0| 20 54 68 65 20 73 65 63 | 6f 6e 64 20 74 65 73 74 | The sec|ond test|
|00002fe0| 20 65 78 63 6c 75 64 65 | 73 20 46 72 65 65 42 53 | exclude|s FreeBS|
|00002ff0| 44 20 6d 73 67 66 6d 74 | 2e 0a 20 20 41 4d 5f 50 |D msgfmt|.. AM_P|
|00003000| 41 54 48 5f 50 52 4f 47 | 5f 57 49 54 48 5f 54 45 |ATH_PROG|_WITH_TE|
|00003010| 53 54 28 4d 53 47 46 4d | 54 2c 20 6d 73 67 66 6d |ST(MSGFM|T, msgfm|
|00003020| 74 2c 0a 20 20 20 20 5b | 24 61 63 5f 64 69 72 2f |t,. [|$ac_dir/|
|00003030| 24 61 63 5f 77 6f 72 64 | 20 2d 2d 73 74 61 74 69 |$ac_word| --stati|
|00003040| 73 74 69 63 73 20 2f 64 | 65 76 2f 6e 75 6c 6c 20 |stics /d|ev/null |
|00003050| 3e 2f 64 65 76 2f 6e 75 | 6c 6c 20 32 3e 26 31 20 |>/dev/nu|ll 2>&1 |
|00003060| 26 26 0a 20 20 20 20 20 | 28 69 66 20 24 61 63 5f |&&. |(if $ac_|
|00003070| 64 69 72 2f 24 61 63 5f | 77 6f 72 64 20 2d 2d 73 |dir/$ac_|word --s|
|00003080| 74 61 74 69 73 74 69 63 | 73 20 2f 64 65 76 2f 6e |tatistic|s /dev/n|
|00003090| 75 6c 6c 20 32 3e 26 31 | 20 3e 2f 64 65 76 2f 6e |ull 2>&1| >/dev/n|
|000030a0| 75 6c 6c 20 7c 20 67 72 | 65 70 20 75 73 61 67 65 |ull | gr|ep usage|
|000030b0| 20 3e 2f 64 65 76 2f 6e | 75 6c 6c 3b 20 74 68 65 | >/dev/n|ull; the|
|000030c0| 6e 20 65 78 69 74 20 31 | 3b 20 65 6c 73 65 20 65 |n exit 1|; else e|
|000030d0| 78 69 74 20 30 3b 20 66 | 69 29 5d 2c 0a 20 20 20 |xit 0; f|i)],. |
|000030e0| 20 3a 29 0a 20 20 41 43 | 5f 50 41 54 48 5f 50 52 | :). AC|_PATH_PR|
|000030f0| 4f 47 28 47 4d 53 47 46 | 4d 54 2c 20 67 6d 73 67 |OG(GMSGF|MT, gmsg|
|00003100| 66 6d 74 2c 20 24 4d 53 | 47 46 4d 54 29 0a 0a 20 |fmt, $MS|GFMT).. |
|00003110| 20 64 6e 6c 20 53 65 61 | 72 63 68 20 66 6f 72 20 | dnl Sea|rch for |
|00003120| 47 4e 55 20 78 67 65 74 | 74 65 78 74 20 30 2e 31 |GNU xget|text 0.1|
|00003130| 31 20 6f 72 20 6e 65 77 | 65 72 20 69 6e 20 74 68 |1 or new|er in th|
|00003140| 65 20 50 41 54 48 2e 0a | 20 20 64 6e 6c 20 54 68 |e PATH..| dnl Th|
|00003150| 65 20 66 69 72 73 74 20 | 74 65 73 74 20 65 78 63 |e first |test exc|
|00003160| 6c 75 64 65 73 20 53 6f | 6c 61 72 69 73 20 78 67 |ludes So|laris xg|
|00003170| 65 74 74 65 78 74 20 61 | 6e 64 20 65 61 72 6c 79 |ettext a|nd early|
|00003180| 20 47 4e 55 20 78 67 65 | 74 74 65 78 74 20 76 65 | GNU xge|ttext ve|
|00003190| 72 73 69 6f 6e 73 2e 0a | 20 20 64 6e 6c 20 54 68 |rsions..| dnl Th|
|000031a0| 65 20 73 65 63 6f 6e 64 | 20 74 65 73 74 20 65 78 |e second| test ex|
|000031b0| 63 6c 75 64 65 73 20 46 | 72 65 65 42 53 44 20 78 |cludes F|reeBSD x|
|000031c0| 67 65 74 74 65 78 74 2e | 0a 20 20 41 4d 5f 50 41 |gettext.|. AM_PA|
|000031d0| 54 48 5f 50 52 4f 47 5f | 57 49 54 48 5f 54 45 53 |TH_PROG_|WITH_TES|
|000031e0| 54 28 58 47 45 54 54 45 | 58 54 2c 20 78 67 65 74 |T(XGETTE|XT, xget|
|000031f0| 74 65 78 74 2c 0a 20 20 | 20 20 5b 24 61 63 5f 64 |text,. | [$ac_d|
|00003200| 69 72 2f 24 61 63 5f 77 | 6f 72 64 20 2d 2d 6f 6d |ir/$ac_w|ord --om|
|00003210| 69 74 2d 68 65 61 64 65 | 72 20 2d 2d 63 6f 70 79 |it-heade|r --copy|
|00003220| 72 69 67 68 74 2d 68 6f | 6c 64 65 72 3d 20 2f 64 |right-ho|lder= /d|
|00003230| 65 76 2f 6e 75 6c 6c 20 | 3e 2f 64 65 76 2f 6e 75 |ev/null |>/dev/nu|
|00003240| 6c 6c 20 32 3e 26 31 20 | 26 26 0a 20 20 20 20 20 |ll 2>&1 |&&. |
|00003250| 28 69 66 20 24 61 63 5f | 64 69 72 2f 24 61 63 5f |(if $ac_|dir/$ac_|
|00003260| 77 6f 72 64 20 2d 2d 6f | 6d 69 74 2d 68 65 61 64 |word --o|mit-head|
|00003270| 65 72 20 2d 2d 63 6f 70 | 79 72 69 67 68 74 2d 68 |er --cop|yright-h|
|00003280| 6f 6c 64 65 72 3d 20 2f | 64 65 76 2f 6e 75 6c 6c |older= /|dev/null|
|00003290| 20 32 3e 26 31 20 3e 2f | 64 65 76 2f 6e 75 6c 6c | 2>&1 >/|dev/null|
|000032a0| 20 7c 20 67 72 65 70 20 | 75 73 61 67 65 20 3e 2f | | grep |usage >/|
|000032b0| 64 65 76 2f 6e 75 6c 6c | 3b 20 74 68 65 6e 20 65 |dev/null|; then e|
|000032c0| 78 69 74 20 31 3b 20 65 | 6c 73 65 20 65 78 69 74 |xit 1; e|lse exit|
|000032d0| 20 30 3b 20 66 69 29 5d | 2c 0a 20 20 20 20 3a 29 | 0; fi)]|,. :)|
|000032e0| 0a 20 20 64 6e 6c 20 52 | 65 6d 6f 76 65 20 6c 65 |. dnl R|emove le|
|000032f0| 66 74 6f 76 65 72 20 66 | 72 6f 6d 20 46 72 65 65 |ftover f|rom Free|
|00003300| 42 53 44 20 78 67 65 74 | 74 65 78 74 20 63 61 6c |BSD xget|text cal|
|00003310| 6c 2e 0a 20 20 72 6d 20 | 2d 66 20 6d 65 73 73 61 |l.. rm |-f messa|
|00003320| 67 65 73 2e 70 6f 0a 0a | 20 20 64 6e 6c 20 53 65 |ges.po..| dnl Se|
|00003330| 61 72 63 68 20 66 6f 72 | 20 47 4e 55 20 6d 73 67 |arch for| GNU msg|
|00003340| 6d 65 72 67 65 20 30 2e | 31 31 20 6f 72 20 6e 65 |merge 0.|11 or ne|
|00003350| 77 65 72 20 69 6e 20 74 | 68 65 20 50 41 54 48 2e |wer in t|he PATH.|
|00003360| 0a 20 20 41 4d 5f 50 41 | 54 48 5f 50 52 4f 47 5f |. AM_PA|TH_PROG_|
|00003370| 57 49 54 48 5f 54 45 53 | 54 28 4d 53 47 4d 45 52 |WITH_TES|T(MSGMER|
|00003380| 47 45 2c 20 6d 73 67 6d | 65 72 67 65 2c 0a 20 20 |GE, msgm|erge,. |
|00003390| 20 20 5b 24 61 63 5f 64 | 69 72 2f 24 61 63 5f 77 | [$ac_d|ir/$ac_w|
|000033a0| 6f 72 64 20 2d 2d 75 70 | 64 61 74 65 20 2d 71 20 |ord --up|date -q |
|000033b0| 2f 64 65 76 2f 6e 75 6c | 6c 20 2f 64 65 76 2f 6e |/dev/nul|l /dev/n|
|000033c0| 75 6c 6c 20 3e 2f 64 65 | 76 2f 6e 75 6c 6c 20 32 |ull >/de|v/null 2|
|000033d0| 3e 26 31 5d 2c 20 3a 29 | 0a 0a 20 20 64 6e 6c 20 |>&1], :)|.. dnl |
|000033e0| 54 68 69 73 20 63 6f 75 | 6c 64 20 67 6f 20 61 77 |This cou|ld go aw|
|000033f0| 61 79 20 73 6f 6d 65 20 | 64 61 79 3b 20 74 68 65 |ay some |day; the|
|00003400| 20 50 41 54 48 5f 50 52 | 4f 47 5f 57 49 54 48 5f | PATH_PR|OG_WITH_|
|00003410| 54 45 53 54 20 61 6c 72 | 65 61 64 79 20 64 6f 65 |TEST alr|eady doe|
|00003420| 73 20 69 74 2e 0a 20 20 | 64 6e 6c 20 54 65 73 74 |s it.. |dnl Test|
|00003430| 20 77 68 65 74 68 65 72 | 20 77 65 20 72 65 61 6c | whether| we real|
|00003440| 6c 79 20 66 6f 75 6e 64 | 20 47 4e 55 20 6d 73 67 |ly found| GNU msg|
|00003450| 66 6d 74 2e 0a 20 20 69 | 66 20 74 65 73 74 20 22 |fmt.. i|f test "|
|00003460| 24 47 4d 53 47 46 4d 54 | 22 20 21 3d 20 22 3a 22 |$GMSGFMT|" != ":"|
|00003470| 3b 20 74 68 65 6e 0a 20 | 20 20 20 64 6e 6c 20 49 |; then. | dnl I|
|00003480| 66 20 69 74 20 69 73 20 | 6e 6f 20 47 4e 55 20 6d |f it is |no GNU m|
|00003490| 73 67 66 6d 74 20 77 65 | 20 64 65 66 69 6e 65 20 |sgfmt we| define |
|000034a0| 69 74 20 61 73 20 3a 20 | 73 6f 20 74 68 61 74 20 |it as : |so that |
|000034b0| 74 68 65 0a 20 20 20 20 | 64 6e 6c 20 4d 61 6b 65 |the. |dnl Make|
|000034c0| 66 69 6c 65 73 20 73 74 | 69 6c 6c 20 63 61 6e 20 |files st|ill can |
|000034d0| 77 6f 72 6b 2e 0a 20 20 | 20 20 69 66 20 24 47 4d |work.. | if $GM|
|000034e0| 53 47 46 4d 54 20 2d 2d | 73 74 61 74 69 73 74 69 |SGFMT --|statisti|
|000034f0| 63 73 20 2f 64 65 76 2f | 6e 75 6c 6c 20 3e 2f 64 |cs /dev/|null >/d|
|00003500| 65 76 2f 6e 75 6c 6c 20 | 32 3e 26 31 20 26 26 0a |ev/null |2>&1 &&.|
|00003510| 20 20 20 20 20 20 20 28 | 69 66 20 24 47 4d 53 47 | (|if $GMSG|
|00003520| 46 4d 54 20 2d 2d 73 74 | 61 74 69 73 74 69 63 73 |FMT --st|atistics|
|00003530| 20 2f 64 65 76 2f 6e 75 | 6c 6c 20 32 3e 26 31 20 | /dev/nu|ll 2>&1 |
|00003540| 3e 2f 64 65 76 2f 6e 75 | 6c 6c 20 7c 20 67 72 65 |>/dev/nu|ll | gre|
|00003550| 70 20 75 73 61 67 65 20 | 3e 2f 64 65 76 2f 6e 75 |p usage |>/dev/nu|
|00003560| 6c 6c 3b 20 74 68 65 6e | 20 65 78 69 74 20 31 3b |ll; then| exit 1;|
|00003570| 20 65 6c 73 65 20 65 78 | 69 74 20 30 3b 20 66 69 | else ex|it 0; fi|
|00003580| 29 3b 20 74 68 65 6e 0a | 20 20 20 20 20 20 3a 20 |); then.| : |
|00003590| 3b 0a 20 20 20 20 65 6c | 73 65 0a 20 20 20 20 20 |;. el|se. |
|000035a0| 20 47 4d 53 47 46 4d 54 | 3d 60 65 63 68 6f 20 22 | GMSGFMT|=`echo "|
|000035b0| 24 47 4d 53 47 46 4d 54 | 22 20 7c 20 73 65 64 20 |$GMSGFMT|" | sed |
|000035c0| 2d 65 20 27 73 2c 5e 2e | 2a 2f 2c 2c 27 60 0a 20 |-e 's,^.|*/,,'`. |
|000035d0| 20 20 20 20 20 41 43 5f | 4d 53 47 5f 52 45 53 55 | AC_|MSG_RESU|
|000035e0| 4c 54 28 0a 20 20 20 20 | 20 20 20 20 5b 66 6f 75 |LT(. | [fou|
|000035f0| 6e 64 20 24 47 4d 53 47 | 46 4d 54 20 70 72 6f 67 |nd $GMSG|FMT prog|
|00003600| 72 61 6d 20 69 73 20 6e | 6f 74 20 47 4e 55 20 6d |ram is n|ot GNU m|
|00003610| 73 67 66 6d 74 3b 20 69 | 67 6e 6f 72 65 20 69 74 |sgfmt; i|gnore it|
|00003620| 5d 29 0a 20 20 20 20 20 | 20 47 4d 53 47 46 4d 54 |]). | GMSGFMT|
|00003630| 3d 22 3a 22 0a 20 20 20 | 20 66 69 0a 20 20 66 69 |=":". | fi. fi|
|00003640| 0a 0a 20 20 64 6e 6c 20 | 54 68 69 73 20 63 6f 75 |.. dnl |This cou|
|00003650| 6c 64 20 67 6f 20 61 77 | 61 79 20 73 6f 6d 65 20 |ld go aw|ay some |
|00003660| 64 61 79 3b 20 74 68 65 | 20 50 41 54 48 5f 50 52 |day; the| PATH_PR|
|00003670| 4f 47 5f 57 49 54 48 5f | 54 45 53 54 20 61 6c 72 |OG_WITH_|TEST alr|
|00003680| 65 61 64 79 20 64 6f 65 | 73 20 69 74 2e 0a 20 20 |eady doe|s it.. |
|00003690| 64 6e 6c 20 54 65 73 74 | 20 77 68 65 74 68 65 72 |dnl Test| whether|
|000036a0| 20 77 65 20 72 65 61 6c | 6c 79 20 66 6f 75 6e 64 | we real|ly found|
|000036b0| 20 47 4e 55 20 78 67 65 | 74 74 65 78 74 2e 0a 20 | GNU xge|ttext.. |
|000036c0| 20 69 66 20 74 65 73 74 | 20 22 24 58 47 45 54 54 | if test| "$XGETT|
|000036d0| 45 58 54 22 20 21 3d 20 | 22 3a 22 3b 20 74 68 65 |EXT" != |":"; the|
|000036e0| 6e 0a 20 20 20 20 64 6e | 6c 20 49 66 20 69 74 20 |n. dn|l If it |
|000036f0| 69 73 20 6e 6f 20 47 4e | 55 20 78 67 65 74 74 65 |is no GN|U xgette|
|00003700| 78 74 20 77 65 20 64 65 | 66 69 6e 65 20 69 74 20 |xt we de|fine it |
|00003710| 61 73 20 3a 20 73 6f 20 | 74 68 61 74 20 74 68 65 |as : so |that the|
|00003720| 0a 20 20 20 20 64 6e 6c | 20 4d 61 6b 65 66 69 6c |. dnl| Makefil|
|00003730| 65 73 20 73 74 69 6c 6c | 20 63 61 6e 20 77 6f 72 |es still| can wor|
|00003740| 6b 2e 0a 20 20 20 20 69 | 66 20 24 58 47 45 54 54 |k.. i|f $XGETT|
|00003750| 45 58 54 20 2d 2d 6f 6d | 69 74 2d 68 65 61 64 65 |EXT --om|it-heade|
|00003760| 72 20 2d 2d 63 6f 70 79 | 72 69 67 68 74 2d 68 6f |r --copy|right-ho|
|00003770| 6c 64 65 72 3d 20 2f 64 | 65 76 2f 6e 75 6c 6c 20 |lder= /d|ev/null |
|00003780| 3e 2f 64 65 76 2f 6e 75 | 6c 6c 20 32 3e 26 31 20 |>/dev/nu|ll 2>&1 |
|00003790| 26 26 0a 20 20 20 20 20 | 20 20 28 69 66 20 24 58 |&&. | (if $X|
|000037a0| 47 45 54 54 45 58 54 20 | 2d 2d 6f 6d 69 74 2d 68 |GETTEXT |--omit-h|
|000037b0| 65 61 64 65 72 20 2d 2d | 63 6f 70 79 72 69 67 68 |eader --|copyrigh|
|000037c0| 74 2d 68 6f 6c 64 65 72 | 3d 20 2f 64 65 76 2f 6e |t-holder|= /dev/n|
|000037d0| 75 6c 6c 20 32 3e 26 31 | 20 3e 2f 64 65 76 2f 6e |ull 2>&1| >/dev/n|
|000037e0| 75 6c 6c 20 7c 20 67 72 | 65 70 20 75 73 61 67 65 |ull | gr|ep usage|
|000037f0| 20 3e 2f 64 65 76 2f 6e | 75 6c 6c 3b 20 74 68 65 | >/dev/n|ull; the|
|00003800| 6e 20 65 78 69 74 20 31 | 3b 20 65 6c 73 65 20 65 |n exit 1|; else e|
|00003810| 78 69 74 20 30 3b 20 66 | 69 29 3b 20 74 68 65 6e |xit 0; f|i); then|
|00003820| 0a 20 20 20 20 20 20 3a | 20 3b 0a 20 20 20 20 65 |. :| ;. e|
|00003830| 6c 73 65 0a 20 20 20 20 | 20 20 41 43 5f 4d 53 47 |lse. | AC_MSG|
|00003840| 5f 52 45 53 55 4c 54 28 | 0a 20 20 20 20 20 20 20 |_RESULT(|. |
|00003850| 20 5b 66 6f 75 6e 64 20 | 78 67 65 74 74 65 78 74 | [found |xgettext|
|00003860| 20 70 72 6f 67 72 61 6d | 20 69 73 20 6e 6f 74 20 | program| is not |
|00003870| 47 4e 55 20 78 67 65 74 | 74 65 78 74 3b 20 69 67 |GNU xget|text; ig|
|00003880| 6e 6f 72 65 20 69 74 5d | 29 0a 20 20 20 20 20 20 |nore it]|). |
|00003890| 58 47 45 54 54 45 58 54 | 3d 22 3a 22 0a 20 20 20 |XGETTEXT|=":". |
|000038a0| 20 66 69 0a 20 20 20 20 | 64 6e 6c 20 52 65 6d 6f | fi. |dnl Remo|
|000038b0| 76 65 20 6c 65 66 74 6f | 76 65 72 20 66 72 6f 6d |ve lefto|ver from|
|000038c0| 20 46 72 65 65 42 53 44 | 20 78 67 65 74 74 65 78 | FreeBSD| xgettex|
|000038d0| 74 20 63 61 6c 6c 2e 0a | 20 20 20 20 72 6d 20 2d |t call..| rm -|
|000038e0| 66 20 6d 65 73 73 61 67 | 65 73 2e 70 6f 0a 20 20 |f messag|es.po. |
|000038f0| 66 69 0a 0a 20 20 41 43 | 5f 4f 55 54 50 55 54 5f |fi.. AC|_OUTPUT_|
|00003900| 43 4f 4d 4d 41 4e 44 53 | 28 5b 0a 20 20 20 20 66 |COMMANDS|([. f|
|00003910| 6f 72 20 61 63 5f 66 69 | 6c 65 20 69 6e 20 24 43 |or ac_fi|le in $C|
|00003920| 4f 4e 46 49 47 5f 46 49 | 4c 45 53 3b 20 64 6f 0a |ONFIG_FI|LES; do.|
|00003930| 20 20 20 20 20 20 23 20 | 53 75 70 70 6f 72 74 20 | # |Support |
|00003940| 22 6f 75 74 66 69 6c 65 | 5b 3a 69 6e 66 69 6c 65 |"outfile|[:infile|
|00003950| 5b 3a 69 6e 66 69 6c 65 | 2e 2e 2e 5d 5d 22 0a 20 |[:infile|...]]". |
|00003960| 20 20 20 20 20 63 61 73 | 65 20 22 24 61 63 5f 66 | cas|e "$ac_f|
|00003970| 69 6c 65 22 20 69 6e 0a | 20 20 20 20 20 20 20 20 |ile" in.| |
|00003980| 2a 3a 2a 29 20 61 63 5f | 66 69 6c 65 3d 60 65 63 |*:*) ac_|file=`ec|
|00003990| 68 6f 20 22 24 61 63 5f | 66 69 6c 65 22 7c 73 65 |ho "$ac_|file"|se|
|000039a0| 64 20 27 73 25 3a 2e 2a | 25 25 27 60 20 3b 3b 0a |d 's%:.*|%%'` ;;.|
|000039b0| 20 20 20 20 20 20 65 73 | 61 63 0a 20 20 20 20 20 | es|ac. |
|000039c0| 20 23 20 50 4f 20 64 69 | 72 65 63 74 6f 72 69 65 | # PO di|rectorie|
|000039d0| 73 20 68 61 76 65 20 61 | 20 4d 61 6b 65 66 69 6c |s have a| Makefil|
|000039e0| 65 2e 69 6e 20 67 65 6e | 65 72 61 74 65 64 20 66 |e.in gen|erated f|
|000039f0| 72 6f 6d 20 4d 61 6b 65 | 66 69 6c 65 2e 69 6e 2e |rom Make|file.in.|
|00003a00| 69 6e 2e 0a 20 20 20 20 | 20 20 63 61 73 65 20 22 |in.. | case "|
|00003a10| 24 61 63 5f 66 69 6c 65 | 22 20 69 6e 20 2a 2f 4d |$ac_file|" in */M|
|00003a20| 61 6b 65 66 69 6c 65 2e | 69 6e 29 0a 20 20 20 20 |akefile.|in). |
|00003a30| 20 20 20 20 23 20 41 64 | 6a 75 73 74 20 61 20 72 | # Ad|just a r|
|00003a40| 65 6c 61 74 69 76 65 20 | 73 72 63 64 69 72 2e 0a |elative |srcdir..|
|00003a50| 20 20 20 20 20 20 20 20 | 61 63 5f 64 69 72 3d 60 | |ac_dir=`|
|00003a60| 65 63 68 6f 20 22 24 61 | 63 5f 66 69 6c 65 22 7c |echo "$a|c_file"||
|00003a70| 73 65 64 20 27 73 25 2f | 5b 5e 2f 5d 5b 5e 2f 5d |sed 's%/|[^/][^/]|
|00003a80| 2a 24 25 25 27 60 0a 20 | 20 20 20 20 20 20 20 61 |*$%%'`. | a|
|00003a90| 63 5f 64 69 72 5f 73 75 | 66 66 69 78 3d 22 2f 60 |c_dir_su|ffix="/`|
|00003aa0| 65 63 68 6f 20 22 24 61 | 63 5f 64 69 72 22 7c 73 |echo "$a|c_dir"|s|
|00003ab0| 65 64 20 27 73 25 5e 5c | 2e 2f 25 25 27 60 22 0a |ed 's%^\|./%%'`".|
|00003ac0| 20 20 20 20 20 20 20 20 | 61 63 5f 64 6f 74 73 3d | |ac_dots=|
|00003ad0| 60 65 63 68 6f 20 22 24 | 61 63 5f 64 69 72 5f 73 |`echo "$|ac_dir_s|
|00003ae0| 75 66 66 69 78 22 7c 73 | 65 64 20 27 73 25 2f 5b |uffix"|s|ed 's%/[|
|00003af0| 5e 2f 5d 2a 25 2e 2e 2f | 25 67 27 60 0a 20 20 20 |^/]*%../|%g'`. |
|00003b00| 20 20 20 20 20 23 20 49 | 6e 20 61 75 74 6f 63 6f | # I|n autoco|
|00003b10| 6e 66 2d 32 2e 31 33 20 | 69 74 20 69 73 20 63 61 |nf-2.13 |it is ca|
|00003b20| 6c 6c 65 64 20 24 61 63 | 5f 67 69 76 65 6e 5f 73 |lled $ac|_given_s|
|00003b30| 72 63 64 69 72 2e 0a 20 | 20 20 20 20 20 20 20 23 |rcdir.. | #|
|00003b40| 20 49 6e 20 61 75 74 6f | 63 6f 6e 66 2d 32 2e 35 | In auto|conf-2.5|
|00003b50| 30 20 69 74 20 69 73 20 | 63 61 6c 6c 65 64 20 24 |0 it is |called $|
|00003b60| 73 72 63 64 69 72 2e 0a | 20 20 20 20 20 20 20 20 |srcdir..| |
|00003b70| 74 65 73 74 20 2d 6e 20 | 22 24 61 63 5f 67 69 76 |test -n |"$ac_giv|
|00003b80| 65 6e 5f 73 72 63 64 69 | 72 22 20 7c 7c 20 61 63 |en_srcdi|r" || ac|
|00003b90| 5f 67 69 76 65 6e 5f 73 | 72 63 64 69 72 3d 22 24 |_given_s|rcdir="$|
|00003ba0| 73 72 63 64 69 72 22 0a | 20 20 20 20 20 20 20 20 |srcdir".| |
|00003bb0| 63 61 73 65 20 22 24 61 | 63 5f 67 69 76 65 6e 5f |case "$a|c_given_|
|00003bc0| 73 72 63 64 69 72 22 20 | 69 6e 0a 20 20 20 20 20 |srcdir" |in. |
|00003bd0| 20 20 20 20 20 2e 29 20 | 20 74 6f 70 5f 73 72 63 | .) | top_src|
|00003be0| 64 69 72 3d 60 65 63 68 | 6f 20 24 61 63 5f 64 6f |dir=`ech|o $ac_do|
|00003bf0| 74 73 7c 73 65 64 20 27 | 73 25 2f 24 25 25 27 60 |ts|sed '|s%/$%%'`|
|00003c00| 20 3b 3b 0a 20 20 20 20 | 20 20 20 20 20 20 2f 2a | ;;. | /*|
|00003c10| 29 20 74 6f 70 5f 73 72 | 63 64 69 72 3d 22 24 61 |) top_sr|cdir="$a|
|00003c20| 63 5f 67 69 76 65 6e 5f | 73 72 63 64 69 72 22 20 |c_given_|srcdir" |
|00003c30| 3b 3b 0a 20 20 20 20 20 | 20 20 20 20 20 2a 29 20 |;;. | *) |
|00003c40| 20 74 6f 70 5f 73 72 63 | 64 69 72 3d 22 24 61 63 | top_src|dir="$ac|
|00003c50| 5f 64 6f 74 73 24 61 63 | 5f 67 69 76 65 6e 5f 73 |_dots$ac|_given_s|
|00003c60| 72 63 64 69 72 22 20 3b | 3b 0a 20 20 20 20 20 20 |rcdir" ;|;. |
|00003c70| 20 20 65 73 61 63 0a 20 | 20 20 20 20 20 20 20 69 | esac. | i|
|00003c80| 66 20 74 65 73 74 20 2d | 66 20 22 24 61 63 5f 67 |f test -|f "$ac_g|
|00003c90| 69 76 65 6e 5f 73 72 63 | 64 69 72 2f 24 61 63 5f |iven_src|dir/$ac_|
|00003ca0| 64 69 72 2f 50 4f 54 46 | 49 4c 45 53 2e 69 6e 22 |dir/POTF|ILES.in"|
|00003cb0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 20 |; then. | |
|00003cc0| 20 72 6d 20 2d 66 20 22 | 24 61 63 5f 64 69 72 2f | rm -f "|$ac_dir/|
|00003cd0| 50 4f 54 46 49 4c 45 53 | 22 0a 20 20 20 20 20 20 |POTFILES|". |
|00003ce0| 20 20 20 20 74 65 73 74 | 20 2d 6e 20 22 24 61 73 | test| -n "$as|
|00003cf0| 5f 6d 65 22 20 26 26 20 | 65 63 68 6f 20 22 24 61 |_me" && |echo "$a|
|00003d00| 73 5f 6d 65 3a 20 63 72 | 65 61 74 69 6e 67 20 24 |s_me: cr|eating $|
|00003d10| 61 63 5f 64 69 72 2f 50 | 4f 54 46 49 4c 45 53 22 |ac_dir/P|OTFILES"|
|00003d20| 20 7c 7c 20 65 63 68 6f | 20 22 63 72 65 61 74 69 | || echo| "creati|
|00003d30| 6e 67 20 24 61 63 5f 64 | 69 72 2f 50 4f 54 46 49 |ng $ac_d|ir/POTFI|
|00003d40| 4c 45 53 22 0a 20 20 20 | 20 20 20 20 20 20 20 63 |LES". | c|
|00003d50| 61 74 20 22 24 61 63 5f | 67 69 76 65 6e 5f 73 72 |at "$ac_|given_sr|
|00003d60| 63 64 69 72 2f 24 61 63 | 5f 64 69 72 2f 50 4f 54 |cdir/$ac|_dir/POT|
|00003d70| 46 49 4c 45 53 2e 69 6e | 22 20 7c 20 73 65 64 20 |FILES.in|" | sed |
|00003d80| 2d 65 20 22 2f 5e 23 2f | 64 22 20 2d 65 20 22 2f |-e "/^#/|d" -e "/|
|00003d90| 5e 5b 20 09 5d 2a 5c 24 | 2f 64 22 20 2d 65 20 22 |^[ .]*\$|/d" -e "|
|00003da0| 73 2c 2e 2a 2c 20 20 20 | 20 20 24 74 6f 70 5f 73 |s,.*, | $top_s|
|00003db0| 72 63 64 69 72 2f 26 20 | 5c 5c 5c 5c 2c 22 20 7c |rcdir/& |\\\\," ||
|00003dc0| 20 73 65 64 20 2d 65 20 | 22 5c 24 73 2f 5c 28 2e | sed -e |"\$s/\(.|
|00003dd0| 2a 5c 29 20 5c 5c 5c 5c | 2f 5c 31 2f 22 20 3e 20 |*\) \\\\|/\1/" > |
|00003de0| 22 24 61 63 5f 64 69 72 | 2f 50 4f 54 46 49 4c 45 |"$ac_dir|/POTFILE|
|00003df0| 53 22 0a 20 20 20 20 20 | 20 20 20 20 20 23 20 41 |S". | # A|
|00003e00| 4c 4c 5f 4c 49 4e 47 55 | 41 53 2c 20 50 4f 46 49 |LL_LINGU|AS, POFI|
|00003e10| 4c 45 53 2c 20 47 4d 4f | 46 49 4c 45 53 2c 20 55 |LES, GMO|FILES, U|
|00003e20| 50 44 41 54 45 50 4f 46 | 49 4c 45 53 2c 20 44 55 |PDATEPOF|ILES, DU|
|00003e30| 4d 4d 59 50 4f 46 49 4c | 45 53 20 64 65 70 65 6e |MMYPOFIL|ES depen|
|00003e40| 64 0a 20 20 20 20 20 20 | 20 20 20 20 23 20 6f 6e |d. | # on|
|00003e50| 20 24 61 63 5f 64 69 72 | 20 62 75 74 20 64 6f 6e | $ac_dir| but don|
|00003e60| 27 74 20 64 65 70 65 6e | 64 20 6f 6e 20 75 73 65 |'t depen|d on use|
|00003e70| 72 2d 73 70 65 63 69 66 | 69 65 64 20 63 6f 6e 66 |r-specif|ied conf|
|00003e80| 69 67 75 72 61 74 69 6f | 6e 0a 20 20 20 20 20 20 |iguratio|n. |
|00003e90| 20 20 20 20 23 20 70 61 | 72 61 6d 65 74 65 72 73 | # pa|rameters|
|00003ea0| 2e 0a 20 20 20 20 20 20 | 20 20 20 20 69 66 20 74 |.. | if t|
|00003eb0| 65 73 74 20 2d 66 20 22 | 24 61 63 5f 67 69 76 65 |est -f "|$ac_give|
|00003ec0| 6e 5f 73 72 63 64 69 72 | 2f 24 61 63 5f 64 69 72 |n_srcdir|/$ac_dir|
|00003ed0| 2f 4c 49 4e 47 55 41 53 | 22 3b 20 74 68 65 6e 0a |/LINGUAS|"; then.|
|00003ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 23 20 54 68 | | # Th|
|00003ef0| 65 20 4c 49 4e 47 55 41 | 53 20 66 69 6c 65 20 63 |e LINGUA|S file c|
|00003f00| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 73 65 74 20 |ontains |the set |
|00003f10| 6f 66 20 61 76 61 69 6c | 61 62 6c 65 20 6c 61 6e |of avail|able lan|
|00003f20| 67 75 61 67 65 73 2e 0a | 20 20 20 20 20 20 20 20 |guages..| |
|00003f30| 20 20 20 20 69 66 20 74 | 65 73 74 20 2d 6e 20 22 | if t|est -n "|
|00003f40| 24 41 4c 4c 5f 4c 49 4e | 47 55 41 53 22 3b 20 74 |$ALL_LIN|GUAS"; t|
|00003f50| 68 65 6e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |hen. | |
|00003f60| 20 20 74 65 73 74 20 2d | 6e 20 22 24 61 73 5f 6d | test -|n "$as_m|
|00003f70| 65 22 20 26 26 20 65 63 | 68 6f 20 22 24 61 73 5f |e" && ec|ho "$as_|
|00003f80| 6d 65 3a 20 73 65 74 74 | 69 6e 67 20 41 4c 4c 5f |me: sett|ing ALL_|
|00003f90| 4c 49 4e 47 55 41 53 20 | 69 6e 20 63 6f 6e 66 69 |LINGUAS |in confi|
|00003fa0| 67 75 72 65 2e 69 6e 20 | 69 73 20 6f 62 73 6f 6c |gure.in |is obsol|
|00003fb0| 65 74 65 22 20 7c 7c 20 | 65 63 68 6f 20 22 73 65 |ete" || |echo "se|
|00003fc0| 74 74 69 6e 67 20 41 4c | 4c 5f 4c 49 4e 47 55 41 |tting AL|L_LINGUA|
|00003fd0| 53 20 69 6e 20 63 6f 6e | 66 69 67 75 72 65 2e 69 |S in con|figure.i|
|00003fe0| 6e 20 69 73 20 6f 62 73 | 6f 6c 65 74 65 22 0a 20 |n is obs|olete". |
|00003ff0| 20 20 20 20 20 20 20 20 | 20 20 20 66 69 0a 20 20 | | fi. |
|00004000| 20 20 20 20 20 20 20 20 | 20 20 41 4c 4c 5f 4c 49 | | ALL_LI|
|00004010| 4e 47 55 41 53 5f 3d 60 | 73 65 64 20 2d 65 20 22 |NGUAS_=`|sed -e "|
|00004020| 2f 5e 23 2f 64 22 20 22 | 24 61 63 5f 67 69 76 65 |/^#/d" "|$ac_give|
|00004030| 6e 5f 73 72 63 64 69 72 | 2f 24 61 63 5f 64 69 72 |n_srcdir|/$ac_dir|
|00004040| 2f 4c 49 4e 47 55 41 53 | 22 60 0a 20 20 20 20 20 |/LINGUAS|"`. |
|00004050| 20 20 20 20 20 20 20 23 | 20 48 69 64 65 20 74 68 | #| Hide th|
|00004060| 65 20 41 4c 4c 5f 4c 49 | 4e 47 55 41 53 20 61 73 |e ALL_LI|NGUAS as|
|00004070| 73 69 67 6d 65 6e 74 20 | 66 72 6f 6d 20 61 75 74 |sigment |from aut|
|00004080| 6f 6d 61 6b 65 2e 0a 20 | 20 20 20 20 20 20 20 20 |omake.. | |
|00004090| 20 20 20 65 76 61 6c 20 | 27 41 4c 4c 5f 4c 49 4e | eval |'ALL_LIN|
|000040a0| 47 55 41 53 27 27 3d 24 | 41 4c 4c 5f 4c 49 4e 47 |GUAS''=$|ALL_LING|
|000040b0| 55 41 53 5f 27 0a 20 20 | 20 20 20 20 20 20 20 20 |UAS_'. | |
|000040c0| 66 69 0a 20 20 20 20 20 | 20 20 20 20 20 63 61 73 |fi. | cas|
|000040d0| 65 20 22 24 61 63 5f 67 | 69 76 65 6e 5f 73 72 63 |e "$ac_g|iven_src|
|000040e0| 64 69 72 22 20 69 6e 0a | 20 20 20 20 20 20 20 20 |dir" in.| |
|000040f0| 20 20 20 20 2e 29 20 73 | 72 63 64 69 72 70 72 65 | .) s|rcdirpre|
|00004100| 3d 20 3b 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |= ;;. | |
|00004110| 20 2a 29 20 73 72 63 64 | 69 72 70 72 65 3d 27 24 | *) srcd|irpre='$|
|00004120| 28 73 72 63 64 69 72 29 | 2f 27 20 3b 3b 0a 20 20 |(srcdir)|/' ;;. |
|00004130| 20 20 20 20 20 20 20 20 | 65 73 61 63 0a 20 20 20 | |esac. |
|00004140| 20 20 20 20 20 20 20 50 | 4f 46 49 4c 45 53 3d 0a | P|OFILES=.|
|00004150| 20 20 20 20 20 20 20 20 | 20 20 47 4d 4f 46 49 4c | | GMOFIL|
|00004160| 45 53 3d 0a 20 20 20 20 | 20 20 20 20 20 20 55 50 |ES=. | UP|
|00004170| 44 41 54 45 50 4f 46 49 | 4c 45 53 3d 0a 20 20 20 |DATEPOFI|LES=. |
|00004180| 20 20 20 20 20 20 20 44 | 55 4d 4d 59 50 4f 46 49 | D|UMMYPOFI|
|00004190| 4c 45 53 3d 0a 20 20 20 | 20 20 20 20 20 20 20 66 |LES=. | f|
|000041a0| 6f 72 20 6c 61 6e 67 20 | 69 6e 20 24 41 4c 4c 5f |or lang |in $ALL_|
|000041b0| 4c 49 4e 47 55 41 53 3b | 20 64 6f 0a 20 20 20 20 |LINGUAS;| do. |
|000041c0| 20 20 20 20 20 20 20 20 | 50 4f 46 49 4c 45 53 3d | |POFILES=|
|000041d0| 22 24 50 4f 46 49 4c 45 | 53 20 24 73 72 63 64 69 |"$POFILE|S $srcdi|
|000041e0| 72 70 72 65 24 6c 61 6e | 67 2e 70 6f 22 0a 20 20 |rpre$lan|g.po". |
|000041f0| 20 20 20 20 20 20 20 20 | 20 20 47 4d 4f 46 49 4c | | GMOFIL|
|00004200| 45 53 3d 22 24 47 4d 4f | 46 49 4c 45 53 20 24 73 |ES="$GMO|FILES $s|
|00004210| 72 63 64 69 72 70 72 65 | 24 6c 61 6e 67 2e 67 6d |rcdirpre|$lang.gm|
|00004220| 6f 22 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 55 |o". | U|
|00004230| 50 44 41 54 45 50 4f 46 | 49 4c 45 53 3d 22 24 55 |PDATEPOF|ILES="$U|
|00004240| 50 44 41 54 45 50 4f 46 | 49 4c 45 53 20 24 6c 61 |PDATEPOF|ILES $la|
|00004250| 6e 67 2e 70 6f 2d 75 70 | 64 61 74 65 22 0a 20 20 |ng.po-up|date". |
|00004260| 20 20 20 20 20 20 20 20 | 20 20 44 55 4d 4d 59 50 | | DUMMYP|
|00004270| 4f 46 49 4c 45 53 3d 22 | 24 44 55 4d 4d 59 50 4f |OFILES="|$DUMMYPO|
|00004280| 46 49 4c 45 53 20 24 6c | 61 6e 67 2e 6e 6f 70 22 |FILES $l|ang.nop"|
|00004290| 0a 20 20 20 20 20 20 20 | 20 20 20 64 6f 6e 65 0a |. | done.|
|000042a0| 20 20 20 20 20 20 20 20 | 20 20 23 20 43 41 54 41 | | # CATA|
|000042b0| 4c 4f 47 53 20 64 65 70 | 65 6e 64 73 20 6f 6e 20 |LOGS dep|ends on |
|000042c0| 62 6f 74 68 20 24 61 63 | 5f 64 69 72 20 61 6e 64 |both $ac|_dir and|
|000042d0| 20 74 68 65 20 75 73 65 | 72 27 73 20 4c 49 4e 47 | the use|r's LING|
|000042e0| 55 41 53 0a 20 20 20 20 | 20 20 20 20 20 20 23 20 |UAS. | # |
|000042f0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 76 61 72 69 |environm|ent vari|
|00004300| 61 62 6c 65 2e 0a 20 20 | 20 20 20 20 20 20 20 20 |able.. | |
|00004310| 49 4e 53 54 5f 4c 49 4e | 47 55 41 53 3d 0a 20 20 |INST_LIN|GUAS=. |
|00004320| 20 20 20 20 20 20 20 20 | 69 66 20 74 65 73 74 20 | |if test |
|00004330| 2d 6e 20 22 24 41 4c 4c | 5f 4c 49 4e 47 55 41 53 |-n "$ALL|_LINGUAS|
|00004340| 22 3b 20 74 68 65 6e 0a | 20 20 20 20 20 20 20 20 |"; then.| |
|00004350| 20 20 20 20 66 6f 72 20 | 70 72 65 73 65 6e 74 6c | for |presentl|
|00004360| 61 6e 67 20 69 6e 20 24 | 41 4c 4c 5f 4c 49 4e 47 |ang in $|ALL_LING|
|00004370| 55 41 53 3b 20 64 6f 0a | 20 20 20 20 20 20 20 20 |UAS; do.| |
|00004380| 20 20 20 20 20 20 75 73 | 65 69 74 3d 6e 6f 0a 20 | us|eit=no. |
|00004390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 | | if |
|000043a0| 74 65 73 74 20 22 25 55 | 4e 53 45 54 25 22 20 21 |test "%U|NSET%" !|
|000043b0| 3d 20 22 24 4c 49 4e 47 | 55 41 53 22 3b 20 74 68 |= "$LING|UAS"; th|
|000043c0| 65 6e 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |en. | |
|000043d0| 20 20 20 64 65 73 69 72 | 65 64 6c 61 6e 67 75 61 | desir|edlangua|
|000043e0| 67 65 73 3d 22 24 4c 49 | 4e 47 55 41 53 22 0a 20 |ges="$LI|NGUAS". |
|000043f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6c 73 | | els|
|00004400| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e. | |
|00004410| 20 20 64 65 73 69 72 65 | 64 6c 61 6e 67 75 61 67 | desire|dlanguag|
|00004420| 65 73 3d 22 24 41 4c 4c | 5f 4c 49 4e 47 55 41 53 |es="$ALL|_LINGUAS|
|00004430| 22 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |". | |
|00004440| 66 69 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |fi. | |
|00004450| 20 66 6f 72 20 64 65 73 | 69 72 65 64 6c 61 6e 67 | for des|iredlang|
|00004460| 20 69 6e 20 24 64 65 73 | 69 72 65 64 6c 61 6e 67 | in $des|iredlang|
|00004470| 75 61 67 65 73 3b 20 64 | 6f 0a 20 20 20 20 20 20 |uages; d|o. |
|00004480| 20 20 20 20 20 20 20 20 | 20 20 23 20 55 73 65 20 | | # Use |
|00004490| 74 68 65 20 70 72 65 73 | 65 6e 74 6c 61 6e 67 20 |the pres|entlang |
|000044a0| 63 61 74 61 6c 6f 67 20 | 69 66 20 64 65 73 69 72 |catalog |if desir|
|000044b0| 65 64 6c 61 6e 67 20 69 | 73 0a 20 20 20 20 20 20 |edlang i|s. |
|000044c0| 20 20 20 20 20 20 20 20 | 20 20 23 20 20 20 61 2e | | # a.|
|000044d0| 20 65 71 75 61 6c 20 74 | 6f 20 70 72 65 73 65 6e | equal t|o presen|
|000044e0| 74 6c 61 6e 67 2c 20 6f | 72 0a 20 20 20 20 20 20 |tlang, o|r. |
|000044f0| 20 20 20 20 20 20 20 20 | 20 20 23 20 20 20 62 2e | | # b.|
|00004500| 20 61 20 76 61 72 69 61 | 6e 74 20 6f 66 20 70 72 | a varia|nt of pr|
|00004510| 65 73 65 6e 74 6c 61 6e | 67 20 28 62 65 63 61 75 |esentlan|g (becau|
|00004520| 73 65 20 69 6e 20 74 68 | 69 73 20 63 61 73 65 2c |se in th|is case,|
|00004530| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004540| 20 23 20 20 20 20 20 20 | 70 72 65 73 65 6e 74 6c | # |presentl|
|00004550| 61 6e 67 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |ang can |be used |
|00004560| 61 73 20 61 20 66 61 6c | 6c 62 61 63 6b 20 66 6f |as a fal|lback fo|
|00004570| 72 20 6d 65 73 73 61 67 | 65 73 0a 20 20 20 20 20 |r messag|es. |
|00004580| 20 20 20 20 20 20 20 20 | 20 20 20 23 20 20 20 20 | | # |
|00004590| 20 20 77 68 69 63 68 20 | 61 72 65 20 6e 6f 74 20 | which |are not |
|000045a0| 74 72 61 6e 73 6c 61 74 | 65 64 20 69 6e 20 74 68 |translat|ed in th|
|000045b0| 65 20 64 65 73 69 72 65 | 64 6c 61 6e 67 20 63 61 |e desire|dlang ca|
|000045c0| 74 61 6c 6f 67 29 2e 0a | 20 20 20 20 20 20 20 20 |talog)..| |
|000045d0| 20 20 20 20 20 20 20 20 | 63 61 73 65 20 22 24 64 | |case "$d|
|000045e0| 65 73 69 72 65 64 6c 61 | 6e 67 22 20 69 6e 0a 20 |esiredla|ng" in. |
|000045f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004600| 20 22 24 70 72 65 73 65 | 6e 74 6c 61 6e 67 22 2a | "$prese|ntlang"*|
|00004610| 29 20 75 73 65 69 74 3d | 79 65 73 3b 3b 0a 20 20 |) useit=|yes;;. |
|00004620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 65 73 | | es|
|00004630| 61 63 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ac. | |
|00004640| 20 64 6f 6e 65 0a 20 20 | 20 20 20 20 20 20 20 20 | done. | |
|00004650| 20 20 20 20 69 66 20 74 | 65 73 74 20 24 75 73 65 | if t|est $use|
|00004660| 69 74 20 3d 20 79 65 73 | 3b 20 74 68 65 6e 0a 20 |it = yes|; then. |
|00004670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 49 | | I|
|00004680| 4e 53 54 5f 4c 49 4e 47 | 55 41 53 3d 22 24 49 4e |NST_LING|UAS="$IN|
|00004690| 53 54 5f 4c 49 4e 47 55 | 41 53 20 24 70 72 65 73 |ST_LINGU|AS $pres|
|000046a0| 65 6e 74 6c 61 6e 67 22 | 0a 20 20 20 20 20 20 20 |entlang"|. |
|000046b0| 20 20 20 20 20 20 20 66 | 69 0a 20 20 20 20 20 20 | f|i. |
|000046c0| 20 20 20 20 20 20 64 6f | 6e 65 0a 20 20 20 20 20 | do|ne. |
|000046d0| 20 20 20 20 20 66 69 0a | 20 20 20 20 20 20 20 20 | fi.| |
|000046e0| 20 20 43 41 54 41 4c 4f | 47 53 3d 0a 20 20 20 20 | CATALO|GS=. |
|000046f0| 20 20 20 20 20 20 69 66 | 20 74 65 73 74 20 2d 6e | if| test -n|
|00004700| 20 22 24 49 4e 53 54 5f | 4c 49 4e 47 55 41 53 22 | "$INST_|LINGUAS"|
|00004710| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 20 |; then. | |
|00004720| 20 20 20 66 6f 72 20 6c | 61 6e 67 20 69 6e 20 24 | for l|ang in $|
|00004730| 49 4e 53 54 5f 4c 49 4e | 47 55 41 53 3b 20 64 6f |INST_LIN|GUAS; do|
|00004740| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 43 |. | C|
|00004750| 41 54 41 4c 4f 47 53 3d | 22 24 43 41 54 41 4c 4f |ATALOGS=|"$CATALO|
|00004760| 47 53 20 24 6c 61 6e 67 | 2e 67 6d 6f 22 0a 20 20 |GS $lang|.gmo". |
|00004770| 20 20 20 20 20 20 20 20 | 20 20 64 6f 6e 65 0a 20 | | done. |
|00004780| 20 20 20 20 20 20 20 20 | 20 66 69 0a 20 20 20 20 | | fi. |
|00004790| 20 20 20 20 20 20 74 65 | 73 74 20 2d 6e 20 22 24 | te|st -n "$|
|000047a0| 61 73 5f 6d 65 22 20 26 | 26 20 65 63 68 6f 20 22 |as_me" &|& echo "|
|000047b0| 24 61 73 5f 6d 65 3a 20 | 63 72 65 61 74 69 6e 67 |$as_me: |creating|
|000047c0| 20 24 61 63 5f 64 69 72 | 2f 4d 61 6b 65 66 69 6c | $ac_dir|/Makefil|
|000047d0| 65 22 20 7c 7c 20 65 63 | 68 6f 20 22 63 72 65 61 |e" || ec|ho "crea|
|000047e0| 74 69 6e 67 20 24 61 63 | 5f 64 69 72 2f 4d 61 6b |ting $ac|_dir/Mak|
|000047f0| 65 66 69 6c 65 22 0a 20 | 20 20 20 20 20 20 20 20 |efile". | |
|00004800| 20 73 65 64 20 2d 65 20 | 22 2f 5e 50 4f 54 46 49 | sed -e |"/^POTFI|
|00004810| 4c 45 53 20 3d 2f 72 20 | 24 61 63 5f 64 69 72 2f |LES =/r |$ac_dir/|
|00004820| 50 4f 54 46 49 4c 45 53 | 22 20 2d 65 20 22 2f 5e |POTFILES|" -e "/^|
|00004830| 23 20 4d 61 6b 65 76 61 | 72 73 2f 72 20 24 61 63 |# Makeva|rs/r $ac|
|00004840| 5f 67 69 76 65 6e 5f 73 | 72 63 64 69 72 2f 24 61 |_given_s|rcdir/$a|
|00004850| 63 5f 64 69 72 2f 4d 61 | 6b 65 76 61 72 73 22 20 |c_dir/Ma|kevars" |
|00004860| 2d 65 20 22 73 7c 40 50 | 4f 46 49 4c 45 53 40 7c |-e "s|@P|OFILES@||
|00004870| 24 50 4f 46 49 4c 45 53 | 7c 67 22 20 2d 65 20 22 |$POFILES||g" -e "|
|00004880| 73 7c 40 47 4d 4f 46 49 | 4c 45 53 40 7c 24 47 4d |s|@GMOFI|LES@|$GM|
|00004890| 4f 46 49 4c 45 53 7c 67 | 22 20 2d 65 20 22 73 7c |OFILES|g|" -e "s||
|000048a0| 40 55 50 44 41 54 45 50 | 4f 46 49 4c 45 53 40 7c |@UPDATEP|OFILES@||
|000048b0| 24 55 50 44 41 54 45 50 | 4f 46 49 4c 45 53 7c 67 |$UPDATEP|OFILES|g|
|000048c0| 22 20 2d 65 20 22 73 7c | 40 44 55 4d 4d 59 50 4f |" -e "s||@DUMMYPO|
|000048d0| 46 49 4c 45 53 40 7c 24 | 44 55 4d 4d 59 50 4f 46 |FILES@|$|DUMMYPOF|
|000048e0| 49 4c 45 53 7c 67 22 20 | 2d 65 20 22 73 7c 40 43 |ILES|g" |-e "s|@C|
|000048f0| 41 54 41 4c 4f 47 53 40 | 7c 24 43 41 54 41 4c 4f |ATALOGS@||$CATALO|
|00004900| 47 53 7c 67 22 20 22 24 | 61 63 5f 64 69 72 2f 4d |GS|g" "$|ac_dir/M|
|00004910| 61 6b 65 66 69 6c 65 2e | 69 6e 22 20 3e 20 22 24 |akefile.|in" > "$|
|00004920| 61 63 5f 64 69 72 2f 4d | 61 6b 65 66 69 6c 65 22 |ac_dir/M|akefile"|
|00004930| 0a 20 20 20 20 20 20 20 | 20 20 20 66 6f 72 20 66 |. | for f|
|00004940| 20 69 6e 20 22 24 61 63 | 5f 67 69 76 65 6e 5f 73 | in "$ac|_given_s|
|00004950| 72 63 64 69 72 2f 24 61 | 63 5f 64 69 72 22 2f 52 |rcdir/$a|c_dir"/R|
|00004960| 75 6c 65 73 2d 2a 3b 20 | 64 6f 0a 20 20 20 20 20 |ules-*; |do. |
|00004970| 20 20 20 20 20 20 20 69 | 66 20 74 65 73 74 20 2d | i|f test -|
|00004980| 66 20 22 24 66 22 3b 20 | 74 68 65 6e 0a 20 20 20 |f "$f"; |then. |
|00004990| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 73 65 20 | | case |
|000049a0| 22 24 66 22 20 69 6e 0a | 20 20 20 20 20 20 20 20 |"$f" in.| |
|000049b0| 20 20 20 20 20 20 20 20 | 2a 2e 6f 72 69 67 20 7c | |*.orig ||
|000049c0| 20 2a 2e 62 61 6b 20 7c | 20 2a 7e 29 20 3b 3b 0a | *.bak || *~) ;;.|
|000049d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000049e0| 2a 29 20 63 61 74 20 22 | 24 66 22 20 3e 3e 20 22 |*) cat "|$f" >> "|
|000049f0| 24 61 63 5f 64 69 72 2f | 4d 61 6b 65 66 69 6c 65 |$ac_dir/|Makefile|
|00004a00| 22 20 3b 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |" ;;. | |
|00004a10| 20 20 20 65 73 61 63 0a | 20 20 20 20 20 20 20 20 | esac.| |
|00004a20| 20 20 20 20 66 69 0a 20 | 20 20 20 20 20 20 20 20 | fi. | |
|00004a30| 20 64 6f 6e 65 0a 20 20 | 20 20 20 20 20 20 66 69 | done. | fi|
|00004a40| 0a 20 20 20 20 20 20 20 | 20 3b 3b 0a 20 20 20 20 |. | ;;. |
|00004a50| 20 20 65 73 61 63 0a 20 | 20 20 20 64 6f 6e 65 5d | esac. | done]|
|00004a60| 2c 0a 20 20 20 5b 23 20 | 43 61 70 74 75 72 65 20 |,. [# |Capture |
|00004a70| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 6f 62 73 |the valu|e of obs|
|00004a80| 6f 6c 65 74 65 20 24 41 | 4c 4c 5f 4c 49 4e 47 55 |olete $A|LL_LINGU|
|00004a90| 41 53 20 62 65 63 61 75 | 73 65 20 77 65 20 6e 65 |AS becau|se we ne|
|00004aa0| 65 64 20 69 74 20 74 6f | 20 63 6f 6d 70 75 74 65 |ed it to| compute|
|00004ab0| 0a 20 20 20 20 23 20 50 | 4f 46 49 4c 45 53 2c 20 |. # P|OFILES, |
|00004ac0| 47 4d 4f 46 49 4c 45 53 | 2c 20 55 50 44 41 54 45 |GMOFILES|, UPDATE|
|00004ad0| 50 4f 46 49 4c 45 53 2c | 20 44 55 4d 4d 59 50 4f |POFILES,| DUMMYPO|
|00004ae0| 46 49 4c 45 53 2c 20 43 | 41 54 41 4c 4f 47 53 2e |FILES, C|ATALOGS.|
|00004af0| 20 42 75 74 20 68 69 64 | 65 20 69 74 0a 20 20 20 | But hid|e it. |
|00004b00| 20 23 20 66 72 6f 6d 20 | 61 75 74 6f 6d 61 6b 65 | # from |automake|
|00004b10| 2e 0a 20 20 20 20 65 76 | 61 6c 20 27 41 4c 4c 5f |.. ev|al 'ALL_|
|00004b20| 4c 49 4e 47 55 41 53 27 | 27 3d 22 24 41 4c 4c 5f |LINGUAS'|'="$ALL_|
|00004b30| 4c 49 4e 47 55 41 53 22 | 27 0a 20 20 20 20 23 20 |LINGUAS"|'. # |
|00004b40| 43 61 70 74 75 72 65 20 | 74 68 65 20 76 61 6c 75 |Capture |the valu|
|00004b50| 65 20 6f 66 20 4c 49 4e | 47 55 41 53 20 62 65 63 |e of LIN|GUAS bec|
|00004b60| 61 75 73 65 20 77 65 20 | 6e 65 65 64 20 69 74 20 |ause we |need it |
|00004b70| 74 6f 20 63 6f 6d 70 75 | 74 65 20 43 41 54 41 4c |to compu|te CATAL|
|00004b80| 4f 47 53 2e 0a 20 20 20 | 20 4c 49 4e 47 55 41 53 |OGS.. | LINGUAS|
|00004b90| 3d 22 24 7b 4c 49 4e 47 | 55 41 53 2d 25 55 4e 53 |="${LING|UAS-%UNS|
|00004ba0| 45 54 25 7d 22 0a 20 20 | 20 5d 29 0a 5d 29 0a 0a |ET%}". | ]).])..|
|00004bb0| 0a 64 6e 6c 20 43 68 65 | 63 6b 73 20 66 6f 72 20 |.dnl Che|cks for |
|00004bc0| 61 6c 6c 20 70 72 65 72 | 65 71 75 69 73 69 74 65 |all prer|equisite|
|00004bd0| 73 20 6f 66 20 74 68 65 | 20 69 6e 74 6c 20 73 75 |s of the| intl su|
|00004be0| 62 64 69 72 65 63 74 6f | 72 79 2c 0a 64 6e 6c 20 |bdirecto|ry,.dnl |
|00004bf0| 65 78 63 65 70 74 20 66 | 6f 72 20 49 4e 54 4c 5f |except f|or INTL_|
|00004c00| 4c 49 42 54 4f 4f 4c 5f | 53 55 46 46 49 58 5f 50 |LIBTOOL_|SUFFIX_P|
|00004c10| 52 45 46 49 58 20 28 61 | 6e 64 20 70 6f 73 73 69 |REFIX (a|nd possi|
|00004c20| 62 6c 79 20 4c 49 42 54 | 4f 4f 4c 29 2c 20 49 4e |bly LIBT|OOL), IN|
|00004c30| 54 4c 4f 42 4a 53 2c 0a | 64 6e 6c 20 20 20 20 20 |TLOBJS,.|dnl |
|00004c40| 20 20 20 20 20 20 20 55 | 53 45 5f 49 4e 43 4c 55 | U|SE_INCLU|
|00004c50| 44 45 44 5f 4c 49 42 49 | 4e 54 4c 2c 20 42 55 49 |DED_LIBI|NTL, BUI|
|00004c60| 4c 44 5f 49 4e 43 4c 55 | 44 45 44 5f 4c 49 42 49 |LD_INCLU|DED_LIBI|
|00004c70| 4e 54 4c 2e 0a 41 43 5f | 44 45 46 55 4e 28 5b 41 |NTL..AC_|DEFUN([A|
|00004c80| 4d 5f 49 4e 54 4c 5f 53 | 55 42 44 49 52 5d 2c 0a |M_INTL_S|UBDIR],.|
|00004c90| 5b 0a 20 20 41 43 5f 52 | 45 51 55 49 52 45 28 5b |[. AC_R|EQUIRE([|
|00004ca0| 41 43 5f 50 52 4f 47 5f | 49 4e 53 54 41 4c 4c 5d |AC_PROG_|INSTALL]|
|00004cb0| 29 64 6e 6c 0a 20 20 41 | 43 5f 52 45 51 55 49 52 |)dnl. A|C_REQUIR|
|00004cc0| 45 28 5b 41 4d 5f 4d 4b | 49 4e 53 54 41 4c 4c 44 |E([AM_MK|INSTALLD|
|00004cd0| 49 52 53 5d 29 64 6e 6c | 0a 20 20 41 43 5f 52 45 |IRS])dnl|. AC_RE|
|00004ce0| 51 55 49 52 45 28 5b 41 | 43 5f 50 52 4f 47 5f 43 |QUIRE([A|C_PROG_C|
|00004cf0| 43 5d 29 64 6e 6c 0a 20 | 20 41 43 5f 52 45 51 55 |C])dnl. | AC_REQU|
|00004d00| 49 52 45 28 5b 41 43 5f | 43 41 4e 4f 4e 49 43 41 |IRE([AC_|CANONICA|
|00004d10| 4c 5f 48 4f 53 54 5d 29 | 64 6e 6c 0a 20 20 41 43 |L_HOST])|dnl. AC|
|00004d20| 5f 52 45 51 55 49 52 45 | 28 5b 41 43 5f 50 52 4f |_REQUIRE|([AC_PRO|
|00004d30| 47 5f 52 41 4e 4c 49 42 | 5d 29 64 6e 6c 0a 20 20 |G_RANLIB|])dnl. |
|00004d40| 41 43 5f 52 45 51 55 49 | 52 45 28 5b 41 43 5f 49 |AC_REQUI|RE([AC_I|
|00004d50| 53 43 5f 50 4f 53 49 58 | 5d 29 64 6e 6c 0a 20 20 |SC_POSIX|])dnl. |
|00004d60| 41 43 5f 52 45 51 55 49 | 52 45 28 5b 41 43 5f 48 |AC_REQUI|RE([AC_H|
|00004d70| 45 41 44 45 52 5f 53 54 | 44 43 5d 29 64 6e 6c 0a |EADER_ST|DC])dnl.|
|00004d80| 20 20 41 43 5f 52 45 51 | 55 49 52 45 28 5b 41 43 | AC_REQ|UIRE([AC|
|00004d90| 5f 43 5f 43 4f 4e 53 54 | 5d 29 64 6e 6c 0a 20 20 |_C_CONST|])dnl. |
|00004da0| 41 43 5f 52 45 51 55 49 | 52 45 28 5b 41 43 5f 43 |AC_REQUI|RE([AC_C|
|00004db0| 5f 49 4e 4c 49 4e 45 5d | 29 64 6e 6c 0a 20 20 41 |_INLINE]|)dnl. A|
|00004dc0| 43 5f 52 45 51 55 49 52 | 45 28 5b 41 43 5f 54 59 |C_REQUIR|E([AC_TY|
|00004dd0| 50 45 5f 4f 46 46 5f 54 | 5d 29 64 6e 6c 0a 20 20 |PE_OFF_T|])dnl. |
|00004de0| 41 43 5f 52 45 51 55 49 | 52 45 28 5b 41 43 5f 54 |AC_REQUI|RE([AC_T|
|00004df0| 59 50 45 5f 53 49 5a 45 | 5f 54 5d 29 64 6e 6c 0a |YPE_SIZE|_T])dnl.|
|00004e00| 20 20 41 43 5f 52 45 51 | 55 49 52 45 28 5b 41 43 | AC_REQ|UIRE([AC|
|00004e10| 5f 46 55 4e 43 5f 41 4c | 4c 4f 43 41 5d 29 64 6e |_FUNC_AL|LOCA])dn|
|00004e20| 6c 0a 20 20 41 43 5f 52 | 45 51 55 49 52 45 28 5b |l. AC_R|EQUIRE([|
|00004e30| 41 43 5f 46 55 4e 43 5f | 4d 4d 41 50 5d 29 64 6e |AC_FUNC_|MMAP])dn|
|00004e40| 6c 0a 20 20 41 43 5f 52 | 45 51 55 49 52 45 28 5b |l. AC_R|EQUIRE([|
|00004e50| 6a 6d 5f 47 4c 49 42 43 | 32 31 5d 29 64 6e 6c 0a |jm_GLIBC|21])dnl.|
|00004e60| 0a 20 20 41 43 5f 43 48 | 45 43 4b 5f 48 45 41 44 |. AC_CH|ECK_HEAD|
|00004e70| 45 52 53 28 5b 61 72 67 | 7a 2e 68 20 6c 69 6d 69 |ERS([arg|z.h limi|
|00004e80| 74 73 2e 68 20 6c 6f 63 | 61 6c 65 2e 68 20 6e 6c |ts.h loc|ale.h nl|
|00004e90| 5f 74 79 70 65 73 2e 68 | 20 6d 61 6c 6c 6f 63 2e |_types.h| malloc.|
|00004ea0| 68 20 73 74 64 64 65 66 | 2e 68 20 5c 0a 73 74 64 |h stddef|.h \.std|
|00004eb0| 6c 69 62 2e 68 20 73 74 | 72 69 6e 67 2e 68 20 75 |lib.h st|ring.h u|
|00004ec0| 6e 69 73 74 64 2e 68 20 | 73 79 73 2f 70 61 72 61 |nistd.h |sys/para|
|00004ed0| 6d 2e 68 5d 29 0a 20 20 | 41 43 5f 43 48 45 43 4b |m.h]). |AC_CHECK|
|00004ee0| 5f 46 55 4e 43 53 28 5b | 66 65 6f 66 5f 75 6e 6c |_FUNCS([|feof_unl|
|00004ef0| 6f 63 6b 65 64 20 66 67 | 65 74 73 5f 75 6e 6c 6f |ocked fg|ets_unlo|
|00004f00| 63 6b 65 64 20 67 65 74 | 63 5f 75 6e 6c 6f 63 6b |cked get|c_unlock|
|00004f10| 65 64 20 67 65 74 63 77 | 64 20 67 65 74 65 67 69 |ed getcw|d getegi|
|00004f20| 64 20 5c 0a 67 65 74 65 | 75 69 64 20 67 65 74 67 |d \.gete|uid getg|
|00004f30| 69 64 20 67 65 74 75 69 | 64 20 6d 65 6d 70 63 70 |id getui|d mempcp|
|00004f40| 79 20 6d 75 6e 6d 61 70 | 20 70 75 74 65 6e 76 20 |y munmap| putenv |
|00004f50| 73 65 74 65 6e 76 20 73 | 65 74 6c 6f 63 61 6c 65 |setenv s|etlocale|
|00004f60| 20 73 74 70 63 70 79 20 | 5c 0a 73 74 72 63 61 73 | stpcpy |\.strcas|
|00004f70| 65 63 6d 70 20 73 74 72 | 64 75 70 20 73 74 72 74 |ecmp str|dup strt|
|00004f80| 6f 75 6c 20 74 73 65 61 | 72 63 68 20 5f 5f 61 72 |oul tsea|rch __ar|
|00004f90| 67 7a 5f 63 6f 75 6e 74 | 20 5f 5f 61 72 67 7a 5f |gz_count| __argz_|
|00004fa0| 73 74 72 69 6e 67 69 66 | 79 20 5f 5f 61 72 67 7a |stringif|y __argz|
|00004fb0| 5f 6e 65 78 74 5d 29 0a | 0a 20 20 41 4d 5f 49 43 |_next]).|. AM_IC|
|00004fc0| 4f 4e 56 0a 20 20 41 4d | 5f 4c 41 4e 47 49 4e 46 |ONV. AM|_LANGINF|
|00004fd0| 4f 5f 43 4f 44 45 53 45 | 54 0a 20 20 41 4d 5f 4c |O_CODESE|T. AM_L|
|00004fe0| 43 5f 4d 45 53 53 41 47 | 45 53 0a 0a 20 20 64 6e |C_MESSAG|ES.. dn|
|00004ff0| 6c 20 69 6e 74 6c 2f 70 | 6c 75 72 61 6c 2e 63 20 |l intl/p|lural.c |
|00005000| 69 73 20 67 65 6e 65 72 | 61 74 65 64 20 66 72 6f |is gener|ated fro|
|00005010| 6d 20 69 6e 74 6c 2f 70 | 6c 75 72 61 6c 2e 79 2e |m intl/p|lural.y.|
|00005020| 20 49 74 20 72 65 71 75 | 69 72 65 73 20 62 69 73 | It requ|ires bis|
|00005030| 6f 6e 2c 0a 20 20 64 6e | 6c 20 62 65 63 61 75 73 |on,. dn|l becaus|
|00005040| 65 20 70 6c 75 72 61 6c | 2e 79 20 75 73 65 73 20 |e plural|.y uses |
|00005050| 62 69 73 6f 6e 20 73 70 | 65 63 69 66 69 63 20 66 |bison sp|ecific f|
|00005060| 65 61 74 75 72 65 73 2e | 20 49 74 20 72 65 71 75 |eatures.| It requ|
|00005070| 69 72 65 73 20 61 74 20 | 6c 65 61 73 74 0a 20 20 |ires at |least. |
|00005080| 64 6e 6c 20 62 69 73 6f | 6e 2d 31 2e 32 36 20 62 |dnl biso|n-1.26 b|
|00005090| 65 63 61 75 73 65 20 65 | 61 72 6c 69 65 72 20 76 |ecause e|arlier v|
|000050a0| 65 72 73 69 6f 6e 73 20 | 67 65 6e 65 72 61 74 65 |ersions |generate|
|000050b0| 20 61 20 70 6c 75 72 61 | 6c 2e 63 20 74 68 61 74 | a plura|l.c that|
|000050c0| 20 64 6f 65 73 6e 27 74 | 0a 20 20 64 6e 6c 20 63 | doesn't|. dnl c|
|000050d0| 6f 6d 70 69 6c 65 2e 0a | 20 20 64 6e 6c 20 62 69 |ompile..| dnl bi|
|000050e0| 73 6f 6e 20 69 73 20 6f | 6e 6c 79 20 6e 65 65 64 |son is o|nly need|
|000050f0| 65 64 20 66 6f 72 20 74 | 68 65 20 6d 61 69 6e 74 |ed for t|he maint|
|00005100| 61 69 6e 65 72 20 28 77 | 68 6f 20 74 6f 75 63 68 |ainer (w|ho touch|
|00005110| 65 73 20 70 6c 75 72 61 | 6c 2e 79 29 2e 20 42 75 |es plura|l.y). Bu|
|00005120| 74 20 69 6e 0a 20 20 64 | 6e 6c 20 6f 72 64 65 72 |t in. d|nl order|
|00005130| 20 74 6f 20 61 76 6f 69 | 64 20 73 65 70 61 72 61 | to avoi|d separa|
|00005140| 74 65 20 4d 61 6b 65 66 | 69 6c 65 73 20 6f 72 20 |te Makef|iles or |
|00005150| 2d 2d 65 6e 61 62 6c 65 | 2d 6d 61 69 6e 74 61 69 |--enable|-maintai|
|00005160| 6e 65 72 2d 6d 6f 64 65 | 2c 20 77 65 20 70 75 74 |ner-mode|, we put|
|00005170| 0a 20 20 64 6e 6c 20 74 | 68 65 20 72 75 6c 65 20 |. dnl t|he rule |
|00005180| 69 6e 20 67 65 6e 65 72 | 61 6c 20 4d 61 6b 65 66 |in gener|al Makef|
|00005190| 69 6c 65 2e 20 4e 6f 77 | 2c 20 73 6f 6d 65 20 70 |ile. Now|, some p|
|000051a0| 65 6f 70 6c 65 20 63 61 | 72 65 6c 65 73 73 6c 79 |eople ca|relessly|
|000051b0| 20 74 6f 75 63 68 20 74 | 68 65 0a 20 20 64 6e 6c | touch t|he. dnl|
|000051c0| 20 66 69 6c 65 73 20 6f | 72 20 68 61 76 65 20 61 | files o|r have a|
|000051d0| 20 62 72 6f 6b 65 6e 20 | 22 6d 61 6b 65 22 20 70 | broken |"make" p|
|000051e0| 72 6f 67 72 61 6d 2c 20 | 68 65 6e 63 65 20 74 68 |rogram, |hence th|
|000051f0| 65 20 70 6c 75 72 61 6c | 2e 63 20 72 75 6c 65 20 |e plural|.c rule |
|00005200| 77 69 6c 6c 0a 20 20 64 | 6e 6c 20 73 6f 6d 65 74 |will. d|nl somet|
|00005210| 69 6d 65 73 20 66 69 72 | 65 2e 20 54 6f 20 61 76 |imes fir|e. To av|
|00005220| 6f 69 64 20 61 6e 20 65 | 72 72 6f 72 2c 20 64 65 |oid an e|rror, de|
|00005230| 66 69 6e 65 73 20 42 49 | 53 4f 4e 20 74 6f 20 22 |fines BI|SON to "|
|00005240| 3a 22 20 69 66 20 69 74 | 20 69 73 20 6e 6f 74 0a |:" if it| is not.|
|00005250| 20 20 64 6e 6c 20 70 72 | 65 73 65 6e 74 20 6f 72 | dnl pr|esent or|
|00005260| 20 74 6f 6f 20 6f 6c 64 | 2e 0a 20 20 41 43 5f 43 | too old|.. AC_C|
|00005270| 48 45 43 4b 5f 50 52 4f | 47 53 28 5b 49 4e 54 4c |HECK_PRO|GS([INTL|
|00005280| 42 49 53 4f 4e 5d 2c 20 | 5b 62 69 73 6f 6e 5d 29 |BISON], |[bison])|
|00005290| 0a 20 20 69 66 20 74 65 | 73 74 20 2d 7a 20 22 24 |. if te|st -z "$|
|000052a0| 49 4e 54 4c 42 49 53 4f | 4e 22 3b 20 74 68 65 6e |INTLBISO|N"; then|
|000052b0| 0a 20 20 20 20 61 63 5f | 76 65 72 63 5f 66 61 69 |. ac_|verc_fai|
|000052c0| 6c 3d 79 65 73 0a 20 20 | 65 6c 73 65 0a 20 20 20 |l=yes. |else. |
|000052d0| 20 64 6e 6c 20 46 6f 75 | 6e 64 20 69 74 2c 20 6e | dnl Fou|nd it, n|
|000052e0| 6f 77 20 63 68 65 63 6b | 20 74 68 65 20 76 65 72 |ow check| the ver|
|000052f0| 73 69 6f 6e 2e 0a 20 20 | 20 20 41 43 5f 4d 53 47 |sion.. | AC_MSG|
|00005300| 5f 43 48 45 43 4b 49 4e | 47 28 5b 76 65 72 73 69 |_CHECKIN|G([versi|
|00005310| 6f 6e 20 6f 66 20 62 69 | 73 6f 6e 5d 29 0a 63 68 |on of bi|son]).ch|
|00005320| 61 6e 67 65 71 75 6f 74 | 65 28 3c 3c 2c 3e 3e 29 |angequot|e(<<,>>)|
|00005330| 64 6e 6c 0a 20 20 20 20 | 61 63 5f 70 72 6f 67 5f |dnl. |ac_prog_|
|00005340| 76 65 72 73 69 6f 6e 3d | 60 24 49 4e 54 4c 42 49 |version=|`$INTLBI|
|00005350| 53 4f 4e 20 2d 2d 76 65 | 72 73 69 6f 6e 20 32 3e |SON --ve|rsion 2>|
|00005360| 26 31 20 7c 20 73 65 64 | 20 2d 6e 20 27 73 2f 5e |&1 | sed| -n 's/^|
|00005370| 2e 2a 47 4e 55 20 42 69 | 73 6f 6e 2e 2a 20 5c 28 |.*GNU Bi|son.* \(|
|00005380| 5b 30 2d 39 5d 2a 5c 2e | 5b 30 2d 39 2e 5d 2a 5c |[0-9]*\.|[0-9.]*\|
|00005390| 29 2e 2a 24 2f 5c 31 2f | 70 27 60 0a 20 20 20 20 |).*$/\1/|p'`. |
|000053a0| 63 61 73 65 20 24 61 63 | 5f 70 72 6f 67 5f 76 65 |case $ac|_prog_ve|
|000053b0| 72 73 69 6f 6e 20 69 6e | 0a 20 20 20 20 20 20 27 |rsion in|. '|
|000053c0| 27 29 20 61 63 5f 70 72 | 6f 67 5f 76 65 72 73 69 |') ac_pr|og_versi|
|000053d0| 6f 6e 3d 22 76 2e 20 3f | 2e 3f 3f 2c 20 62 61 64 |on="v. ?|.??, bad|
|000053e0| 22 3b 20 61 63 5f 76 65 | 72 63 5f 66 61 69 6c 3d |"; ac_ve|rc_fail=|
|000053f0| 79 65 73 3b 3b 0a 20 20 | 20 20 20 20 31 2e 32 5b |yes;;. | 1.2[|
|00005400| 36 2d 39 5d 2a 20 7c 20 | 31 2e 5b 33 2d 39 5d 5b |6-9]* | |1.[3-9][|
|00005410| 30 2d 39 5d 2a 20 7c 20 | 5b 32 2d 39 5d 2e 2a 29 |0-9]* | |[2-9].*)|
|00005420| 0a 63 68 61 6e 67 65 71 | 75 6f 74 65 28 5b 2c 5d |.changeq|uote([,]|
|00005430| 29 64 6e 6c 0a 20 20 20 | 20 20 20 20 20 20 61 63 |)dnl. | ac|
|00005440| 5f 70 72 6f 67 5f 76 65 | 72 73 69 6f 6e 3d 22 24 |_prog_ve|rsion="$|
|00005450| 61 63 5f 70 72 6f 67 5f | 76 65 72 73 69 6f 6e 2c |ac_prog_|version,|
|00005460| 20 6f 6b 22 3b 20 61 63 | 5f 76 65 72 63 5f 66 61 | ok"; ac|_verc_fa|
|00005470| 69 6c 3d 6e 6f 3b 3b 0a | 20 20 20 20 20 20 2a 29 |il=no;;.| *)|
|00005480| 20 61 63 5f 70 72 6f 67 | 5f 76 65 72 73 69 6f 6e | ac_prog|_version|
|00005490| 3d 22 24 61 63 5f 70 72 | 6f 67 5f 76 65 72 73 69 |="$ac_pr|og_versi|
|000054a0| 6f 6e 2c 20 62 61 64 22 | 3b 20 61 63 5f 76 65 72 |on, bad"|; ac_ver|
|000054b0| 63 5f 66 61 69 6c 3d 79 | 65 73 3b 3b 0a 20 20 20 |c_fail=y|es;;. |
|000054c0| 20 65 73 61 63 0a 20 20 | 20 20 41 43 5f 4d 53 47 | esac. | AC_MSG|
|000054d0| 5f 52 45 53 55 4c 54 28 | 5b 24 61 63 5f 70 72 6f |_RESULT(|[$ac_pro|
|000054e0| 67 5f 76 65 72 73 69 6f | 6e 5d 29 0a 20 20 66 69 |g_versio|n]). fi|
|000054f0| 0a 20 20 69 66 20 74 65 | 73 74 20 24 61 63 5f 76 |. if te|st $ac_v|
|00005500| 65 72 63 5f 66 61 69 6c | 20 3d 20 79 65 73 3b 20 |erc_fail| = yes; |
|00005510| 74 68 65 6e 0a 20 20 20 | 20 49 4e 54 4c 42 49 53 |then. | INTLBIS|
|00005520| 4f 4e 3d 3a 0a 20 20 66 | 69 0a 5d 29 0a 0a 0a 41 |ON=:. f|i.])...A|
|00005530| 43 5f 44 45 46 55 4e 28 | 5b 41 4d 5f 4d 4b 49 4e |C_DEFUN(|[AM_MKIN|
|00005540| 53 54 41 4c 4c 44 49 52 | 53 5d 2c 0a 5b 0a 20 20 |STALLDIR|S],.[. |
|00005550| 64 6e 6c 20 49 66 20 74 | 68 65 20 41 43 5f 43 4f |dnl If t|he AC_CO|
|00005560| 4e 46 49 47 5f 41 55 58 | 5f 44 49 52 20 6d 61 63 |NFIG_AUX|_DIR mac|
|00005570| 72 6f 20 66 6f 72 20 61 | 75 74 6f 63 6f 6e 66 20 |ro for a|utoconf |
|00005580| 69 73 20 75 73 65 64 20 | 77 65 20 70 6f 73 73 69 |is used |we possi|
|00005590| 62 6c 79 0a 20 20 64 6e | 6c 20 66 69 6e 64 20 74 |bly. dn|l find t|
|000055a0| 68 65 20 6d 6b 69 6e 73 | 74 61 6c 6c 64 69 72 73 |he mkins|talldirs|
|000055b0| 20 73 63 72 69 70 74 20 | 69 6e 20 61 6e 6f 74 68 | script |in anoth|
|000055c0| 65 72 20 73 75 62 64 69 | 72 20 62 75 74 20 24 28 |er subdi|r but $(|
|000055d0| 74 6f 70 5f 73 72 63 64 | 69 72 29 2e 0a 20 20 64 |top_srcd|ir).. d|
|000055e0| 6e 6c 20 54 72 79 20 74 | 6f 20 6c 6f 63 61 74 65 |nl Try t|o locate|
|000055f0| 20 69 73 2e 0a 20 20 4d | 4b 49 4e 53 54 41 4c 4c | is.. M|KINSTALL|
|00005600| 44 49 52 53 3d 0a 20 20 | 69 66 20 74 65 73 74 20 |DIRS=. |if test |
|00005610| 2d 6e 20 22 24 61 63 5f | 61 75 78 5f 64 69 72 22 |-n "$ac_|aux_dir"|
|00005620| 3b 20 74 68 65 6e 0a 20 | 20 20 20 4d 4b 49 4e 53 |; then. | MKINS|
|00005630| 54 41 4c 4c 44 49 52 53 | 3d 22 24 61 63 5f 61 75 |TALLDIRS|="$ac_au|
|00005640| 78 5f 64 69 72 2f 6d 6b | 69 6e 73 74 61 6c 6c 64 |x_dir/mk|installd|
|00005650| 69 72 73 22 0a 20 20 66 | 69 0a 20 20 69 66 20 74 |irs". f|i. if t|
|00005660| 65 73 74 20 2d 7a 20 22 | 24 4d 4b 49 4e 53 54 41 |est -z "|$MKINSTA|
|00005670| 4c 4c 44 49 52 53 22 3b | 20 74 68 65 6e 0a 20 20 |LLDIRS";| then. |
|00005680| 20 20 4d 4b 49 4e 53 54 | 41 4c 4c 44 49 52 53 3d | MKINST|ALLDIRS=|
|00005690| 22 5c 24 28 74 6f 70 5f | 73 72 63 64 69 72 29 2f |"\$(top_|srcdir)/|
|000056a0| 6d 6b 69 6e 73 74 61 6c | 6c 64 69 72 73 22 0a 20 |mkinstal|ldirs". |
|000056b0| 20 66 69 0a 20 20 41 43 | 5f 53 55 42 53 54 28 4d | fi. AC|_SUBST(M|
|000056c0| 4b 49 4e 53 54 41 4c 4c | 44 49 52 53 29 0a 5d 29 |KINSTALL|DIRS).])|
|000056d0| 0a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00005710| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|00005720| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|00005730| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00005810| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+